sse client
sse client
The sse client binding converts outbound see request-response streams into http request-response streams.
sse_server:
type: sse
kind: client
exit: tcp_clientConfiguration (* required)
options
object
The sse specific options.
options:
retry: 2000options.retry
integer| Default:2000
Retry delay in milliseconds.
options.requests
arrayofobject
The requests specific options.
requests[].path
string
The path selector.
requests[].content
enum[double,float,int32,int64,json,string],object
Enforce validation for the request content.
content.model*
enum[double,float,int32,int64,json,string]
A schema or type to validate the request content. Refer to the individual model docs for type specific implementation.
routes
arrayofobject
Conditional sse specific routes.
routes:
- guarded:
my_guard:
- read:items
when:
- path: /items
exit: sse_kafka_proxyroutes[].guarded
objectas map of namedarrayofstring
List of roles required by each named guard to authorize this route.
routes:
- guarded:
my_guard:
- read:itemsroutes[].when
arrayofobject
List of conditions (any match) to match this route. Read more: When a route matches
routes:
- when:
- path: /itemswhen[].path
string
Path pattern.
routes[].exit
string
Next binding when following this route.
routes:
- when:
...
exit: sse_kafka_proxyexit
string
Default exit binding when no conditional routes are viable.
exit: echo_servertelemetry
object
Defines the desired telemetry for the binding.
telemetry.metrics
array
Telemetry metrics to track
telemetry:
metrics:
- stream.*
- http.*
