-
Notifications
You must be signed in to change notification settings - Fork 640
Does anyone successfully used this on AWS? #50
Comments
@oscarnevarezleal Yes, I have run it on an EC2 instance. Do you have any questions? |
@oscarnevarezleal Are you maybe trying to run this on a memory-constrained instance? Turns out, the container by default starts a JVM with |
@flosell That was exactly my problem, thnks!! |
@mjgpy3 / @oscarnevarezleal / @flosell How do you handle the In my local dev environment, I have to specify the IP like
|
@poppahorse ADVERTISED_HOST should be setted with EC2´s public IP ( not a subnet IP ) Please note that AWS could ( might, most likely ) change your EC2 public IP without warning you so. If you launch your container with a fixed ADVERTISED_HOST env, this would stop working from one moment to another. What I do in this cases is to assign a Elastic IP to this particular instance altought I don´t know how to apply ( scale ) same rule with multiple instances. This is an example of docker-compose.yml using spotify/kafka & confluentinc/cp-kafka-rest togheter. `--- kafka-rest: |
Having a similar problem to @poppahorse, I think. Using this container in ECS and every time a consumer / producer tries to consume / produce to a topic there's a "LEADER_NOT_AVAILABLE" error message. I have a producer and the kafka container in the same task, with the producer linked to the kafka instance, and ports 2181 and 9092 exposed on the kafka container. I have the ADVERTISED_HOST environment variable set to the IP of the container instance (I know that's not ideal this is just for proof of concept purposes). Any advice? |
Does anyone successfully used this on AWS?
The text was updated successfully, but these errors were encountered: