Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kafka get started
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kafka
kafka get started
Commits
a1fc0800
Commit
a1fc0800
authored
2 years ago
by
Lokesh Singh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kafka-single-node.yml
parent
764fad6e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
kafka-single-node.yml
kafka-single-node.yml
+34
-0
No files found.
kafka-single-node.yml
0 → 100644
View file @
a1fc0800
version
:
'
2'
services
:
#Zookeeper Service.
zookeeper
:
image
:
'
bitnami/zookeeper:latest'
restart
:
"
no"
ports
:
-
'
2181:2181'
environment
:
-
ALLOW_ANONYMOUS_LOGIN=yes
container_name
:
zookeeper
#Kafka Service
kafka
:
image
:
'
bitnami/kafka:latest'
restart
:
"
no"
ports
:
-
'
9092:9092'
-
'
29092:29092'
environment
:
-
KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=INTERNAL:PLAINTEXT,EXTERNAL:PLAINTEXT
-
KAFKA_CFG_LISTENERS=INTERNAL://:29092,EXTERNAL://:9092
-
KAFKA_CFG_ADVERTISED_LISTENERS=INTERNAL://kafka:29092,EXTERNAL://localhost:9092
-
KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181
-
KAFKA_INTER_BROKER_LISTENER_NAME=INTERNAL
-
ALLOW_PLAINTEXT_LISTENER=yes
container_name
:
kafka-broker
depends_on
:
-
"
zookeeper"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment