Comments (5)
Thanks. You can get a list of all running docker containers with docker ps
:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
857aadf7c40e mskafka_apache "/bin/sh -c 'apach..." 9 seconds ago Up 7 seconds 0.0.0.0:8080->80/tcp mskafka_apache_1
9220cef4f9c0 mskafka_invoicing "/bin/sh -c '/usr/..." 11 seconds ago Up 8 seconds 8080/tcp mskafka_invoicing_1
989c84b240a2 mskafka_shipping "/bin/sh -c '/usr/..." 11 seconds ago Up 8 seconds 8080/tcp mskafka_shipping_1
aff85f17793f mskafka_order "/bin/sh -c '/usr/..." 11 seconds ago Up 8 seconds 8080/tcp mskafka_order_1
b1ea3311f031 wurstmeister/kafka:0.10.2.1 "start-kafka.sh" 13 seconds ago Up 11 seconds mskafka_kafka_1
c83247820e4d mskafka_postgres "docker-entrypoint..." 14 seconds ago Up 12 seconds 5432/tcp mskafka_postgres_1
a397c26c1947 wurstmeister/zookeeper:3.4.6 "/bin/sh -c '/usr/..." 14 seconds ago Up 12 seconds 22/tcp, 2888/tcp, 3888/tcp, 0.0.0.0:2181->2181/tcp mskafka_zookeeper_1
You can see the logs with docker logs <docker-container-name>
e.g. docker logs mskafka_zookeeper_1
from microservice-kafka.
Great, so apparently the order message cannot be sent to the topic due to a timeout.
Exception thrown when sending a message with key='7created' and payload='com.ewolff.microservice.order.logic.Order@48f9766a[id=7,customer=com.ewolff.microservice.order.custo...' to topic order:
org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.
from microservice-kafka.
from microservice-kafka.
I suspect that Docker does not have enough RAM. If you are running a local Docker installation on Windows or macOS, go to Preferences -> Advanced and make sure memory is set to 4 GB. If you are using Docker Machine use docker-machine create --virtualbox-memory "4096" --driver virtualbox dev
.
from microservice-kafka.
This is actually really a bug. The problem is that the configuration was messed up and therefore the Kafka server was not really accessed. Thanks for pointing this out!
from microservice-kafka.
Related Issues (17)
- mvn package build issue HOT 6
- Failed to execute ms-kafka-order
- Question: use of `-XX:TieredStopAtLevel=1 -noverify` HOT 1
- project builds, but tests fail HOT 3
- docker compose fails HOT 1
- Proxy error HOT 2
- I want to change db from postgresql to mysql. HOT 1
- Invoice and Shipment services don't start due to missing topic ? HOT 3
- Request without post or get HOT 3
- Passwords in `.properties` file HOT 1
- returned a non-zero code: 137 HOT 1
- mvn package installation should be done via docker multi-stage build HOT 1
- Race condition of topic creation from KAFKA_CREATE_TOPICS & the Spring apps (?) HOT 1
- Postgres init-user-db.sh not executed when using docker on Windows
- How does Kafka Converts Order info to Invoice HOT 4
- Starting mskafka_zookeeper_1 ... error ERROR: for mskafka_zookeeper_1 Cannot start service zookeeper: driver failed programming external connectivity on endpoint mskafka_zookeeper_1 (de37724a560282572b4e7698cc26e584e0709fb4bb1401beef02cda986e894da): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:2181:tcp:172.18.0.3:2181: input/output error ERROR: for zookeeper Cannot start service zookeeper: driver failed programming external connectivity on endpoint mskafka_zookeeper_1 (de37724a560282572b4e7698cc26e584e0709fb4bb1401beef02cda986e894da): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:2181:tcp:172.18.0.3:2181: input/output error ERROR: Encountered errors while bringing up the project. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microservice-kafka.