-
Create folder:
sudo mkdir ka-data
sudo mkdir zoo-data
sudo mkdir zoo-datalog
sudo mkdir km-conf
-
Create .env file (you could also config it manually)
#ID should be unique in 1,2,3...
#SERVER_ZOO_HOST the current node should use 0.0.0.0
ID=?
SERVER_KAFKA=kafka1.mydomain.com
SERVER_ZOO_HOST=server.1=0.0.0.0:2888:3888 server.2=zookeeper2.mydomain.com:2888:3888 server.3=zookeeper3.mydomain.com:2888:3888
SERVER_ZOO_CONNECT=zookeeper1.mydomain.com:2181,zookeeper2.mydomain.com:2181,zookeeper3.mydomain.com:2181
-
Create application.conf for Kafka-manager (Ref: https://github.com/lightbend/kafka-manager-TO-BE-DELETED/blob/master/conf/application.conf)
# Copyright 2015 Yahoo Inc. Licensed under the Apache License, Version 2.0
# See accompanying LICENSE file.
# This is the main configuration file for the application.
# ~~~~~
# Secret key
# ~~~~~
# The secret key is used to secure cryptographics functions.
# If you deploy your application to several instances be sure to use the same key!
play.crypto.secret="^<csmm5Fx4d=r2HEX8pelM3iBkFVv?k[mc;IZE<_Qoq8EkX_/7@Zt6dP05Pzea3U"
play.crypto.secret=${?APPLICATION_SECRET}
# The application languages
# ~~~~~
play.i18n.langs=["en"]
play.http.requestHandler = "play.http.DefaultHttpRequestHandler"
play.http.context = "/"
play.application.loader=loader.KafkaManagerLoader
kafka-manager.zkhosts="kafka-manager-zookeeper:2181"
kafka-manager.zkhosts=${?ZK_HOSTS}
pinned-dispatcher.type="PinnedDispatcher"
pinned-dispatcher.executor="thread-pool-executor"
application.features=["KMClusterManagerFeature","KMTopicManagerFeature","KMPreferredReplicaElectionFeature","KMReassignPartitionsFeature"]
akka {
loggers = ["akka.event.slf4j.Slf4jLogger"]
loglevel = "INFO"
}
basicAuthentication.enabled=false
basicAuthentication.enabled=${?KAFKA_MANAGER_AUTH_ENABLED}
basicAuthentication.username="admin"
basicAuthentication.username=${?KAFKA_MANAGER_USERNAME}
basicAuthentication.password="password"
basicAuthentication.password=${?KAFKA_MANAGER_PASSWORD}
basicAuthentication.realm="Kafka-Manager"
basicAuthentication.excluded=["/api/health"] # ping the health of your instance without authentification
kafka-manager.consumer.properties.file=${?CONSUMER_PROPERTIES_FILE}
-
Create docker-compose file:
-
docker-compose-kafka.yml
version: '3.1'
services:
kafka1:
image: confluentinc/cp-kafka:5.1.2-1.0
container_name: ka
restart: always
ports:
- 9092:9092
- 9999:9999
volumes:
- ./ka-data:/var/lib/kafka/data
environment:
KAFKA_BROKER_ID: ${ID}
KAFKA_LISTENERS: PLAINTEXT://0.0.0.0:9092
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://${SERVER_KAFKA}:9092
KAFKA_ZOOKEEPER_CONNECT: ${SERVER_ZOO_CONNECT}
KAFKA_JMX_PORT: 9999
KAFKA_JMX_HOSTNAME: ${SERVER_KAFKA}
-
docker-compose-zookeeper.yml
version: '3.1'
services:
zookeeper-1:
image: zookeeper:3.4.13-1.0
container_name: zk
restart: always
ports:
- 2181:2181
- 2888:2888
- 3888:3888
volumes:
- ./zoo-data:/data
- ./zoo-datalog:/datalog
environment:
ZOO_MY_ID: ${ID}
ZOO_SERVERS: ${SERVER_ZOO_HOST}
-
docker-compose-kafka-manager.yml
version: '3.1'
services:
kafka-manager-1:
image: sheepkiller/kafka-manager:1.3.1.8-1.0
container_name: km
restart: always
ports:
- 80:9000
volumes:
- ./km-conf:/opt
environment:
ZK_HOSTS: ${SERVER_ZOO_CONNECT}
KM_CONFIGFILE: /opt/application.conf
KAFKA_MANAGER_AUTH_ENABLED: "true"
KAFKA_MANAGER_USERNAME: user
KAFKA_MANAGER_PASSWORD: xxxxx
-
And now you could start it now:
process should be Zookeeper -> Kafka-manager -> create a zookeeper cluster by kafka-manager -> Kafka
docker-compose -f docker-compose-zookeeper up -d
docker-compose -f docker-compose-kafka-manager up -d
# Now create a Zookeeper cluster by Kafka-manager
docker-compose -f docker-compose-kafka up -d
Thanks for any other fantastic article.
Where else could anyone get that kind of info in such a perfect means of writing?
I have a presentation next week, and I’m at the search for such info. http://herreramedical.org/azithromycin
Please let me know if you’re looking for a article writer for
your site. You have some really great articles and I believe I would be
a good asset. If you ever want to take some of the load
off, I’d love to write some content for your blog in exchange for a link back to mine.
Please blast me an e-mail if interested. Cheers! https://hydroxychloroquinee.com/
You could certainly see your skills within the article you write.
The world hopes for even more passionate writers like you who are not afraid to mention how they believe.
At all times go after your heart. http://antiibioticsland.com/Erythromycin.htm
Heya just wanted to give you a brief heads up and let you
know a few of the pictures aren’t loading correctly.
I’m not sure why but I think its a linking issue.
I’ve tried it in two different internet browsers and
both show the same outcome. http://herreramedical.org/acyclovir
I am no longer positive where you’re getting your information, however great
topic. I needs to spend some time finding
out much more or understanding more. Thanks for magnificent information I
used to be searching for this info for my mission. http://www.deinformedvoters.org/hydroxychloroquine
Hello! I just wanted to ask if you ever have any trouble with hackers?
My last blog (wordpress) was hacked and I ended up losing many months of hard work due to no backup.
Do you have any solutions to prevent hackers? http://www.deinformedvoters.org/sildenafil-price
Hi there very nice web site!! Man .. Excellent ..
Wonderful .. I’ll bookmark your website
and take the feeds also? I’m happy to search out a lot of useful info right here within the post, we need develop extra techniques on this
regard, thank you for sharing. . . . . . http://antiibioticsland.com/Stromectol.htm
This blog was… how do you say it? Relevant!!
Finally I’ve found something that helped me. Many thanks! https://buszcentrum.com/nolvadex.htm
I like the valuable information you supply for your articles.
I will bookmark your weblog and take a look at once more right here
regularly. I’m somewhat certain I’ll be told a lot of new stuff proper right here!
Good luck for the next! http://herreramedical.org/aurogra
Thank you a lot for sharing this with all folks you actually understand what you are speaking approximately!
Bookmarked. Please additionally visit my web site =).
We could have a link exchange contract between us http://harmonyhomesltd.com/Ivermectinum-precautions.html
Have you ever considered about adding a little bit more than just your
articles? I mean, what you say is important and all.
Nevertheless imagine if you added some great graphics or video clips to give
your posts more, “pop”! Your content is excellent but with pics and
video clips, this website could undeniably be one of the very best
in its field. Excellent blog! http://herreramedical.org/vidalista
cialis vision side effects
Cialis Generico A Minor Prezzo
gabapentin name
canadian pharmacy cialis 20mg
gabapentin dogs
Real Viagra Online Without Prescription
propecia online
Cialis Canadian Pahrmcy
zithromax tripac
lowest price cialis cialis without a prescription
acquista vardenafil NeroHods cialis nitric oxide
Que Es Cialis Super Active plaquenil for corona virus Qocmjm Levitra Wiki
buy cialis where to buy generic cialis online safely
levitra cialis o viagra Yrnerk hydroxychloroquine sulfate 200 mg Usfxby Cytotec Acheter Ligne
tadalafil generic where to buy https://nextadalafil.com/
viagra from india viagra sale
stromectol online ivermectin 0.5%
ivermectin 0.5 lotion ivermectin 3mg dose
sildenafil 5mg sildenafil 50 mg tablet
stromectol price in india stromectol tablets 3 mg
para que sirve las tabletas cialis tadalafil de 5mg tadalafil natural substitute
ivermectin online ivermectin 1
stromectol 3 mg tablets price stromectol price uk
buy stromectol pills stromectol prices
ivermectin oral ivermectin 1%
stromectol 6 mg dosage ivermectin medicine
buy ivermectin ivermectin 3mg tab
ivermectin buy where to buy ivermectin cream
stromectol drug ivermectin 500ml
stromectol online ivermectin 9 mg
ivermectin price canada ivermectin cream
ivermectin 9 mg tablet ivermectin for sale
stromectol brand ivermectin usa
buying cialis without a prescription cialis use
ivermectin topical ivermectin australia
ivermectin for sale ivermectin price
cialis viagra online cost of generic cialis
buy viagra now price of viagra
natural sildenafil sildenafil alternatives
cialis tadalafil 10mg tablets tadalafil price walmart
cialis prescription buy cheap cialis
tadalafil 5mg generic tadalafil laundry detergent
buy cheap viagra online canadian pharmacy sildenafil 40 mg
sildenafil soft tabs sildenafil citrate ip
tadalafil, mint pharmaceuticals tadalafil reviews
stop canadian pharmacy emails toronto pharmacy online
best price viagra uk pfizer viagra 100mg price
www levitra what is the real cost of levitra
generic rx online pharmacy pharmacy tech practice test online free
liquid cialis buy brand cialis on line
stromectol purchase liquid ivermectin
is cialis a controlled substance cialis with dapoxetine cheap
tadalafil tab 5mg liquid tadalafil dosage
discount canadian drugs 1 canadian pharmacy
25mg viagra where can i buy sildenafil tablets
ivermectin ebv ivermectin cream for humans
generic cialis 40 mg cialis tablet
buying viagra from canada where can i buy generic viagra in canada
cialis funny top sale viagracialis
levitra generic india difference between levitra viagra
purdue pharmacy store vasco rx specialty pharmacy
levitra discount coupons levitra price in egypt
big pharmacy online rx plus pharmacy
canada pharma limited us canadian pharmacy
eckerd pharmacy store locator canadian pharmacies shipping to usa
nuvigil online canadian pharmacy no prescription drugs
cvs store hours pharmacy prescription drugs for anxiety
pharmacy canada school canadian pharmacy 24h reviews
generic viagra online canadian pharmacy canadian pharmacy oxycodone
rx partners pharmacy rx warehouse pharmacy
provigil buy online buy provigil 100mg for sale
order provigil sale provigil 100mg tablet
cheap cialis online canadian pharmacy best india pharmacy
provigil brand modafinil uk
where To Bay Cialis (tadalafil) Pills 80mg?
how Many Miligrams Are Safe To Take For Cialis?
how Long For Cialis Active After Long Layoff?
a4w7i
b3lr1
1gsq
order provigil 200mg generic modafinil usa
when Will Generic Cialis Be Available Over The Counter?
how Long Does Daytime Does It Take For Daytime Cialis To Kick In?
o1z2u
1exnu
h5ws
what Herb Is Cialis Made From?
ldvgo
r3dr1
457b
canadian pharmacy stromectol
http://www.ivermectinoge.com/ stromectol pharmacy
order stromectol online purchase ivermectin online
viagra cyalis levitra compared buy levitra walmart 20 10 mg levitra levitra 10 mg price
azithromycin for syphilis order azithromycin canada is azithromycin a penicillin drug what is azithromycin 250mg used for
buy priligy online dapoxetine 30mg india is dapoxetine available in the uk how to get priligy in canada
selling viagra best way t o take viagra how to get viagra pills how to buy viagra cheap
priligy mexico precio no rx avana priligy for sale in usa where to get priligy bodybuilding
stromectol for humans for sale https://www.ivermectinoge.com/
dapoxetine fda dapoxetine otc priligy precio en mexico how to take dapoxetine 30 mg
ivermectin without a doctor prescription cheap stromectol
buy stromectol canada buy stromectol 12 mg ivermectin cost
viagra moa prescription for viagra australia where to get viagra cheap how to take cialis properly
cenforce 130 cenforce 100 kaufen cenforce 100 para que sirve cenforce 150 specials
cheap stromectol ivermectin tablets
prix viagra 100mg amazon viagra achat de viagra en france viagra comment en avoir
herbal viagra perth cialis price in australia how do i get viagra what is cialis prescribed for
clomiphene vs clomid buy clomid without prescription online where can i buy clomid when do you ovulate on clomid 50mg
clomid pill clomid tablets australia does clomid work for male infertility how to use clomid
buy ivermectin 12mg http://www.ivermectinusd.com/
cialis women does viagra really work generic cialis canada online pharmacy where to buy viagra melbourne
cheapest ivermectin online
chloroquine sulfate aralen aralen price aralen and azithromycin for covid 19 what is the eye screening test before you take aralen
ivermectin for pinworms ivermectin malaria where to buy ivermectin for humans what is ivermectin llabeled used for in humans
diarrhea metformin buy metformin usa can you take metformin at night what does the drug metformin do
baricitinib olumiant olumiant pill size baricitinib covid precio olumiant vte risk