spring-cloud-stream - producer.headerMode default value
问题描述
probably anyone know which value is default for spring.cloud.stream.bindings.<bindingName>.producer.header-mode
in spring-cloud-stream-kafka-binder?
The problem is because in spring-cloud stream documentation we have
Default: Depends on the binder implementation.
解决方案
Default is headers
for the Apache Kafka binder.
In general, you can assume that for middleware that supports headers natively (e.g. Kafka since 0.11.0.0), the default will be headers
; for middleware that has no support for headers, it will be embeddedHeaders
or none
depending on what the developer chose.
推荐阅读
- gremlin - 如何在 Gremlin 查询中对顶点进行内连接?
- cmake - Bitbake 从本地资源创建 cmake 配方
- gwt - 带有 JsInterop 的 GWT 中的 Javascript 模块函数
- php - 使用 SimpleSAMLphp 后如何从 Drupal 获取旧会话处理?
- xamarin - 轮播视图绑定自动持续时间值 - Xamarin.forms
- wpf - 在不同的程序集中使用带有静态 ResourceDictionary 的 BasedOn 样式
- apache - 使用 # 将页面重定向到 url
- c# - 带有斜杠的 Azure 搜索搜索
- ios - 主机“my.host.be”需要 ServerTrustEvaluating 值,但未找到
- c++ - 在 C++ 中打开一个新的终端屏幕