2
2
version : ' 3'
3
3
services :
4
4
zookeeper :
5
- image : confluentinc/cp-zookeeper:5.4.0-beta1
5
+ image : confluentinc/cp-zookeeper:6.2.0
6
6
container_name : zookeeper
7
7
hostname : zookeeper
8
8
environment :
9
9
ZOOKEEPER_CLIENT_PORT : 2181
10
10
ZOOKEEPER_TICK_TIME : 2000
11
11
12
12
kafka :
13
- image : confluentinc/cp-enterprise- kafka:5.4.0-beta1
13
+ image : confluentinc/cp-kafka:6.2.0
14
14
container_name : kafka
15
15
hostname : kafka
16
16
depends_on :
@@ -25,10 +25,12 @@ services:
25
25
KAFKA_ADVERTISED_LISTENERS : PLAINTEXT://kafka:29092,HOST://localhost:9092
26
26
KAFKA_AUTO_CREATE_TOPICS_ENABLE : " true"
27
27
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR : 1
28
+ KAFKA_TRANSACTION_STATE_LOG_MIN_ISR : 1
29
+ KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR : 1
28
30
KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS : 100
29
31
30
32
schema-registry :
31
- image : confluentinc/cp-schema-registry:5.4.0-beta1
33
+ image : confluentinc/cp-schema-registry:6.2.0
32
34
container_name : schema-registry
33
35
ports :
34
36
- 8081:8081
@@ -41,7 +43,7 @@ services:
41
43
SCHEMA_REGISTRY_CUB_KAFKA_TIMEOUT : 300
42
44
43
45
ksqldb-server :
44
- image : confluentinc/ksqldb-server:0.6 .0
46
+ image : confluentinc/ksqldb-server:0.21 .0
45
47
hostname : ksqldb-server
46
48
container_name : ksqldb-server
47
49
depends_on :
@@ -58,7 +60,7 @@ services:
58
60
KSQL_KSQL_SCHEMA_REGISTRY_URL : http://schema-registry:8081
59
61
60
62
ksqldb-cli :
61
- image : confluentinc/ksqldb-cli:0.6 .0
63
+ image : confluentinc/ksqldb-cli:0.21 .0
62
64
container_name : ksqldb-cli
63
65
hostname : ksqldb-cli
64
66
depends_on :
@@ -67,7 +69,7 @@ services:
67
69
tty : true
68
70
69
71
kafka-connect-01 :
70
- image : confluentinc/cp-kafka-connect:5.4.0-beta1
72
+ image : confluentinc/cp-kafka-connect:6.2.0
71
73
container_name : kafka-connect-01
72
74
hostname : kafka-connect-01
73
75
ports :
@@ -104,7 +106,8 @@ services:
104
106
- -c
105
107
- |
106
108
echo "Installing connector plugins"
107
- confluent-hub install --no-prompt confluentinc/kafka-connect-rabbitmq:1.1.1
109
+ confluent-hub install --no-prompt confluentinc/kafka-connect-rabbitmq:1.5.2
110
+ confluent-hub install --no-prompt confluentinc/kafka-connect-jdbc:10.2.3
108
111
109
112
#
110
113
echo "Launching Kafka Connect worker"
@@ -113,7 +116,7 @@ services:
113
116
sleep infinity
114
117
115
118
rabbitmq :
116
- image : rabbitmq:3-management
119
+ image : rabbitmq:3.9.5 -management
117
120
container_name : rabbitmq
118
121
volumes :
119
122
- " ./rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf"
@@ -122,7 +125,7 @@ services:
122
125
- ' 5672:5672'
123
126
124
127
kafkacat :
125
- image : edenhill/kafkacat:1.5 .0
128
+ image : edenhill/kafkacat:1.6 .0
126
129
container_name : kafkacat
127
130
entrypoint :
128
131
- /bin/sh
@@ -131,23 +134,23 @@ services:
131
134
while [ 1 -eq 1 ];do sleep 60;done
132
135
133
136
134
- mongodb :
135
- # *-----------------------------*
136
- # To connect to mongoDB
137
- # docker exec --interactive --tty syslog_mongodb mongo localhost:27017
138
- # *-----------------------------*
139
- image : mongo:4.2.2
140
- container_name : syslog_mongodb
141
- hostname : mongodb
142
- ports :
143
- - " 27017:27017"
137
+ # mongodb:
138
+ # # *-----------------------------*
139
+ # # To connect to mongoDB
140
+ # # docker exec --interactive --tty syslog_mongodb mongo localhost:27017
141
+ # # *-----------------------------*
142
+ # image: mongo:5.0.3
143
+ # container_name: syslog_mongodb
144
+ # hostname: mongodb
145
+ # ports:
146
+ # - "27017:27017"
144
147
145
148
postgres :
146
149
# *-----------------------------*
147
150
# To connect to the DB:
148
- # docker-compose exec postgres bash -c 'psql -U $POSTGRES_USER $POSTGRES_DB'
151
+ # docker exec postgres bash -c 'psql -U $POSTGRES_USER $POSTGRES_DB'
149
152
# *-----------------------------*
150
- image : postgres:11
153
+ image : postgres:13.4
151
154
container_name : postgres
152
155
environment :
153
156
- POSTGRES_USER=postgres
0 commit comments