Kafka Client Compatibility
Spring for Apache Kafka is based on the pure java kafka-clients jar. The following is the compatibility matrix:
Spring for Apache Kafka Version |
Spring Integration for Apache Kafka Version |
kafka-clients |
Spring Boot |
2.6.0 |
5.3.x or 5.4.0-SNAPSHOT (pre-release) |
2.6.0 |
2.3.x or 2.4.0-SNAPSHOT (pre-release) |
2.5.x |
3.3.x |
2.5.0 |
2.3.x |
2.4.x |
3.2.x |
2.4.1 |
2.2.x |
2.3.x |
3.2.x |
2.3.1 |
2.2.x |
2.2.x |
3.1.x |
2.0.1, 2.1.x, 2.2.x |
2.1.x |
|
|
|
|
1.3.x |
2.3.x |
0.11.0.x, 1.0.x |
|
IMPORTANT: This matrix is client compatibility; in most cases (since 0.10.2.0) newer clients can communicate with older brokers. All users with brokers >= 0.10.x.x (and all spring boot 1.5.x users) are recommended to use spring-kafka version 1.3.x or higher due to its simpler threading model thanks to KIP-62. For a complete discussion about client/broker compatibility, see the Kafka Compatibility Matrix
-
Spring Integration Kafka versions prior to 2.0 pre-dated the Spring for Apache Kafka project and therefore were not based on it.
These versions will be referenced transitively when using maven or gradle for version management.
-
Spring Boot 1.5 (EOL) users should use 1.3.x (Boot dependency management will use 1.1.x by default so this should be overridden).
-
Spring Boot 2.1 users should use 2.2.x (Boot dependency management will use the correct version).
-
Spring Boot 2.2 users should use 2.3.x (Boot dependency management will use the correct version) or override version to 2.4.x).
-
Spring Boot 2.3 users should use 2.5.x (Boot dependency management will use the correct version).
-
Spring Boot 2.4 users should use 2.6.x (Boot dependency management will use the correct version).
To use 2.6.0 with Boot 2.3.x; see Override Spring Boot Dependencies.
spring.io/projects/spring-kafka
'빅데이터 > Kafka' 카테고리의 다른 글
카프카 토픽의 오프셋 최대 크기는 얼마일까? (0) | 2020.11.17 |
---|---|
카프카 커넥터 빌드시 JDK11이 아닌 JDK8로 그래들 빌드해야합니다. (2) | 2020.11.02 |
failed authentication due to: Authentication failed during authentication due to invalid credentials with SASL mechanism SCRAM-SHA-256 (0) | 2020.10.23 |
토픽의 메시지 값을 직렬화/역직렬화가 정상적으로 이루어지지 않는 경우 테스트 (0) | 2020.10.15 |
정말정말 간단한 스프링 카프카 컨슈머 애플리케이션 예제 (0) | 2020.10.13 |
Reactive를 품은 스프링 카프카 시청 정리 자료 (1) | 2020.09.26 |