W3Cschool
恭喜您成為首批注冊用戶
獲得88經(jīng)驗值獎勵
以下是顯著棄用的快速摘要。有關(guān)更多詳細信息,請參見相應的{spring-cloud-stream-javadoc-current} [javadoc]。
SharedChannelRegistry
.使用SharedBindingTargetRegistry
。Bindings
.符合條件的Beans已通過其類型唯一標識,例如,提供了Source
,Processor
或自定義綁定:public interface Sample { String OUTPUT = "sampleOutput"; @Output(Sample.OUTPUT) MessageChannel output(); }
HeaderMode.raw
.使用none
,headers
或embeddedHeaders
ProducerProperties.partitionKeyExtractorClass
贊成partitionKeyExtractorName
,而ProducerProperties.partitionSelectorClass
贊成partitionSelectorName
。此更改可確保Spring配置和管理兩個組件,并以Spring友好的方式對其進行引用。BinderAwareRouterBeanPostProcessor
.在保留該組件的同時,它不再是BeanPostProcessor
,并且將來會重命名。BinderProperties.setEnvironment(Properties environment)
.使用BinderProperties.setEnvironment(Map<String, Object> environment)
。本節(jié)將詳細介紹如何使用Spring Cloud Stream。它涵蓋了諸如創(chuàng)建和運行流應用程序之類的主題。
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網(wǎng)安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯(lián)系方式:
更多建議: