You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've updated the Kafka binder version from 2.2.1.RELEASE to 3.1.6 ('org.springframework.cloud:spring-cloud-stream-binder-kafka:3.1.6') in the producer service. The consumer service is using Kafka binder version 2.2.1.RELEASE. When the producer is producing an event to the consumer, it gives the error below on the consumer side.
org.springframework.kafka.listener.ListenerExecutionFailedException: Listener failed; nested exception is org.springframework.messaging.MessagingException: Failed to handle Message; nested exception is org.springframework.messaging.MessagingException: logger; nested exception is java.lang.NoSuchFieldError: logger, failedMessage=ErrorMessage [payload=org.springframework.messaging.MessagingException: logger; nested exception is java.lang.NoSuchFieldError: logger,
Caused by: java.lang.NoSuchFieldError: logger
at org.springframework.cloud.stream.binder.kafka.BinderHeaderMapper.lambda$toHeaders$1(BinderHeaderMapper.java:265)
I'm updating app spring boot version from 2.3.13 to 2.7.18.
Please suggest which Binder Kafka version I can use in the producer that is backward compatible with the consumer version 2.2.1.RELEASE.
The text was updated successfully, but these errors were encountered:
I've updated the Kafka binder version from 2.2.1.RELEASE to 3.1.6 ('org.springframework.cloud:spring-cloud-stream-binder-kafka:3.1.6') in the producer service. The consumer service is using Kafka binder version 2.2.1.RELEASE. When the producer is producing an event to the consumer, it gives the error below on the consumer side.
org.springframework.kafka.listener.ListenerExecutionFailedException: Listener failed; nested exception is org.springframework.messaging.MessagingException: Failed to handle Message; nested exception is org.springframework.messaging.MessagingException: logger; nested exception is java.lang.NoSuchFieldError: logger, failedMessage=ErrorMessage [payload=org.springframework.messaging.MessagingException: logger; nested exception is java.lang.NoSuchFieldError: logger,
Caused by: java.lang.NoSuchFieldError: logger
at org.springframework.cloud.stream.binder.kafka.BinderHeaderMapper.lambda$toHeaders$1(BinderHeaderMapper.java:265)
I'm updating app spring boot version from 2.3.13 to 2.7.18.
Please suggest which Binder Kafka version I can use in the producer that is backward compatible with the consumer version 2.2.1.RELEASE.
The text was updated successfully, but these errors were encountered: