As soon as I try to add the tracing functionality to the project by introducing opentracing-spring-cloud-starter for example and related dependencies then the following error is thrown: java.lang.UnsupportedOperationException: This implementation doesn't support this method at org.springframework.kafka....
Then add its class name to the producer configs; for example, with Spring Boot: spring: kafka: producer: properties: "[interceptor.classes]": com.example.demo.HeaderStrippingInterceptor Share Improve this answer Follow edited Nov 3, 2021 at 20:33 answered Nov 3, 2021 at 20:04 Gary R...
We need to make a small change to the BeanPostProcessor, to avoid the reflection in this example. This uses Spring for Apache Kafka 2.9.2. Hopefully, it's self-explanatory. @SpringBootApplication public class Kgh2352Application extends RetryTopicConfigurationSupport { public static void main(Stri...