43d786f701920e536838daef35fb62579a5730e9
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/236 - Restore the mapped headers configuration for embedding headers - Configure the header mapper based on the header mode - On the outbound side, set the mapper to `null` unless the header mode is not null and not `headers` this suppresses the channel adapter from setting up headers - for compatibility with < 0.11 brokers - On the inbound side, set the `BinderHeaders.NATIVE_HEADERS_PRESENT` header if native headers found - Add a configuration capability allowing the user to provide his/her own header mapper - Add a test case with 3 producers (embedded, native, and no headers) and a consumer to verify it can consume all 3 Requires https://github.com/spring-cloud/spring-cloud-stream/pull/1107 Polishing - fix else clause when configuring the header mapper.
Spring Cloud Stream Binder for Apache Kafka
Description
Languages
Java
99.9%