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
I got Error info: Magic v1 does not support record headers #1692
Comments
It looks like the binder is not honoring the header mode (embedded headers) |
I wonder if this is Kafka only or more general? I mean we don't really embed headers in Rabbit as an example |
It's a feature of the Kafka binder only. Kafka < 0.11 doesn't support native headers. In 2.0, we support embedding headers to enable 2.0 apps to talk to 1.3 apps. I don't know how long we need to support such backward compatibility (until 2.1? until 3.0?) /cc: @sabbyanandan In any case, if it works with 2.0.0 and not with 2.0.1, something broke. |
Issue moved to spring-cloud/spring-cloud-stream-binder-kafka #650 via ZenHub |
Hi, My kafka broker version is kafka_2.12-0.10.2.2
spring-cloud-starter-stream-kafka version is 2.0.2.RELEASE
spring cloud is Finchley.SR3
spring boot version is 2.0.6.RELEASE
my yml is here
spring:
-- cloud:
----stream:
------defaultBinder: kafka
------default:
--------producer:
----------headerMode: embeddedHeaders
--------consumer:
----------headerMode: embeddedHeaders
And I got Error "Magic v1 does not support record headers "
stack is here . Tks . How can I do with this ? tks again.
and pom is here
org.springframework.boot spring-boot-starter-parent 2.0.6.RELEASE com.example welink-broadcaster 0.0.1 welink-broadcaster welink-broadcaster project for Spring Boot 1.8 Finchley.SR3finally I change spring-cloud-stream version is 2.0.0.RELEASE。 I fixed this problem ..Is it a Bug ?
The text was updated successfully, but these errors were encountered: