Spring For Apache Kafka 2.1 RC1 and 2.0.1 & 1.3.1 Available
We are pleased to announce the first Release Candidate for the version 2.1
of the Spring for Apache Kafka:
repositories {
maven { url 'http://repo.spring.io/milestone' }
}
compile "org.springframework.kafka:spring-kafka:2.1.0.RC1"
The general reason for so quick point release is the recently released Apache Kafka 1.0.0
version. There are no critical feature in that release, but some breaking changes in the kafka.admin
and kafka.streams
have been introduced. Therefore this release represents mostly compatibility with Apache Kafka 1.0.0
:
-
Deprecate
bounce()
andwaitUntilSynced()
in theKafkaEmbedded
since respective API in theAdminUtils
have been removed -
The
KStreamBuilderFactoryBean
now usesStreamsBuilder
instead of deprecatedKStreamBuilder
-
The
@EmbeddedKafka.brokerProperties()
can be configured with the properties placeholders -
The SpEL expressions in the
@KafkaListener
attributes now can be used simplified sinceBeanFactory
resolver is supplied with theTemplateAwareExpressionParser
-
A
…NonResponsiveConsumerEvent
has been introduced to track the sate of theListenerContainer
for possible target Broker unavailability