Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedded headers mode #13

Open
jmaister opened this issue Feb 21, 2020 · 0 comments
Open

Embedded headers mode #13

jmaister opened this issue Feb 21, 2020 · 0 comments

Comments

@jmaister
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant