Skip to content

Commit eb81817

Browse files
authored
Merge pull request #830 from geoff2k/gt/add_kafka_2.5
Add kafka 2.5 to CI
2 parents 0d64a9b + 64d7336 commit eb81817

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.circleci/config.yml

+33
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,38 @@ jobs:
267267
- run: bundle install --path vendor/bundle
268268
- run: bundle exec rspec --profile --tag functional spec/functional
269269

270+
kafka-2.5:
271+
docker:
272+
- image: circleci/ruby:2.5.1-node
273+
environment:
274+
LOG_LEVEL: DEBUG
275+
- image: wurstmeister/zookeeper
276+
- image: wurstmeister/kafka:2.12-2.5.0
277+
environment:
278+
KAFKA_ADVERTISED_HOST_NAME: localhost
279+
KAFKA_ADVERTISED_PORT: 9092
280+
KAFKA_PORT: 9092
281+
KAFKA_ZOOKEEPER_CONNECT: localhost:2181
282+
KAFKA_DELETE_TOPIC_ENABLE: true
283+
- image: wurstmeister/kafka:2.12-2.5.0
284+
environment:
285+
KAFKA_ADVERTISED_HOST_NAME: localhost
286+
KAFKA_ADVERTISED_PORT: 9093
287+
KAFKA_PORT: 9093
288+
KAFKA_ZOOKEEPER_CONNECT: localhost:2181
289+
KAFKA_DELETE_TOPIC_ENABLE: true
290+
- image: wurstmeister/kafka:2.12-2.5.0
291+
environment:
292+
KAFKA_ADVERTISED_HOST_NAME: localhost
293+
KAFKA_ADVERTISED_PORT: 9094
294+
KAFKA_PORT: 9094
295+
KAFKA_ZOOKEEPER_CONNECT: localhost:2181
296+
KAFKA_DELETE_TOPIC_ENABLE: true
297+
steps:
298+
- checkout
299+
- run: bundle install --path vendor/bundle
300+
- run: bundle exec rspec --profile --tag functional spec/functional
301+
270302
workflows:
271303
version: 2
272304
test:
@@ -280,3 +312,4 @@ workflows:
280312
- kafka-2.2
281313
- kafka-2.3
282314
- kafka-2.4
315+
- kafka-2.5

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,16 @@ Or install it yourself as:
118118
<td>Limited support</td>
119119
<td>Limited support</td>
120120
</tr>
121+
<tr>
121122
<th>Kafka 2.4</th>
122123
<td>Limited support</td>
123124
<td>Limited support</td>
124125
</tr>
126+
<tr>
127+
<th>Kafka 2.5</th>
128+
<td>Limited support</td>
129+
<td>Limited support</td>
130+
</tr>
125131
</table>
126132

127133
This library is targeting Kafka 0.9 with the v0.4.x series and Kafka 0.10 with the v0.5.x series. There's limited support for Kafka 0.8, and things should work with Kafka 0.11, although there may be performance issues due to changes in the protocol.
@@ -136,6 +142,7 @@ This library is targeting Kafka 0.9 with the v0.4.x series and Kafka 0.10 with t
136142
- **Kafka 2.2:** Everything that works with Kafka 2.1 should still work, but so far no features specific to Kafka 2.2 have been added.
137143
- **Kafka 2.3:** Everything that works with Kafka 2.2 should still work, but so far no features specific to Kafka 2.3 have been added.
138144
- **Kafka 2.4:** Everything that works with Kafka 2.3 should still work, but so far no features specific to Kafka 2.4 have been added.
145+
- **Kafka 2.5:** Everything that works with Kafka 2.4 should still work, but so far no features specific to Kafka 2.5 have been added.
139146

140147
This library requires Ruby 2.1 or higher.
141148

0 commit comments

Comments
 (0)