Skip to content

Commit

Permalink
Update to Confluent Platform 5.0.0; Kafka 2.0
Browse files Browse the repository at this point in the history
Disables hostname verfication for docker
  • Loading branch information
Mongey committed Oct 3, 2018
1 parent 8e867b3 commit 88cff91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
- image: mongey/kafka
- image: mongey/kafka:5.0.0
environment:
KAFKA_BROKER_ID: 1
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM confluentinc/cp-kafka:4.0.0-2
FROM confluentinc/cp-kafka:5.0.0
COPY secrets/ /etc/kafka/secrets

ENV KAFKA_ADVERTISED_LISTENERS=SSL://localhost:9092
Expand All @@ -10,5 +10,7 @@ ENV KAFKA_SSL_TRUSTSTORE_FILENAME=kafka.broker1.truststore.jks
ENV KAFKA_SSL_TRUSTSTORE_CREDENTIALS=broker1_truststore_creds
ENV KAFKA_SECURITY_INTER_BROKER_PROTOCOL=SSL
ENV KAFKA_SSL_CLIENT_AUTH=required
ENV KAFKA_SSL_ENDPOINT_IDENTIFICATION_ALGORITHM=
ENV KAFKA_LISTENER_NAME_INTERNAL_SSL_ENDPOINT_IDENTIFICATION_ALGORITHM=
ENV KAFKA_ALLOW_EVERYONE_IF_NO_ACL_FOUND="true"
ENV KAFKA_AUTHORIZER_CLASS_NAME=kafka.security.auth.SimpleAclAuthorizer

0 comments on commit 88cff91

Please sign in to comment.