简体   繁体   中英

Dockerize and deploy the Spring App that has Kafka consumer on AKS?

At present, we have a Java spring boot application deployed on the VM which consumers the message from Kafka.

We have an Enterprise Kafka Cluster deployed on the VMs. It uses the standard ports - eg: 9092 & 2181.

Requirement : We want to deploy this application Azure Kubernetes Services (AKS).

Ask : Is there anything specific (eg: port ) needs to be done in the dockerfile or kubernetes manifest yaml?

I would assume that as long as the AKS can connect (VNET - VNET) with the Kafka Cluster that should be sufficient.

please suggest.

Kafka clients don't need to expose any port mappings

Your assumption is correct, that given the proper VPC settings, then communicate should be fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM