spring-cloud / spring-cloud-bus

Spring Cloud event bus
http://cloud.spring.io/spring-cloud-bus/
Apache License 2.0
408 stars 242 forks source link

SCB dependency sets (de)serializers to ByteArray if (de)serializers are set via config files (same as #248) #267

Open sshbur opened 1 year ago

sshbur commented 1 year ago

This is a duplicate bug to the unresolved one from here, with same context and behavior as described there.

While the person from that thread resolved their problem through manually setting the kafka configs in code, I don't think that is the proper solution to go forward with. Setting kafka configs through property files shouldn't be overwritten by an external library.

To confirm, this also happens without bus, but with the spring cloud stream kafka binder only.

org.springframework.cloud:spring-cloud-starter-bus-kafka -> 3.1.2