본문 바로가기

빅데이터/Kafka

스프링 카프카 호환표

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

2.1.x

3.0.x

1.0.2

2.0.x (End of Life)

1.3.x

2.3.x

0.11.0.x, 1.0.x

1.5.x (End of Life)

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

 

Spring for Apache Kafka

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

spring.io