spring-nats
spring-nats copied to clipboard
Embedded headers mode
I am using spring-nats to send/receive messages to a NATS broker.
I tried to activate the embedded headers mode but it does not work as expected. No header is sent along with the payload. I tested it with spring-cloud-stream-binder-kafka and a Kafka broker and it works properly.
Analyzing binder the code, I see that it differs from the spring-cloud-stream-binder-kafka on the implementation of io.nats.cloud.stream.binder.NatsChannelBinder#NatsChannelBinder.
super(null, provisioningProvider); // null for headers to embed
Is there a plan to support this header mode? Or add the ability of configure the list of headers to be embedded?