Comments (3)
Thanks @Crim
The problem is solved. It's my network issue.
Thanks.
from kafka-webview.
So to be completely upfront -- I'm definitely not an expert with Docker. My gut feeling is perhaps the network setup between your Docker instance and the host EC2 instance are not configured to allow them to talk to each other.
Locally I use a mac laptop. Running the Docker image and Kafka/Zookeeper on the host OS, I had to configure my broker hostname in Kafka-Webview as 'docker.for.mac.localhost' which is a special hostname reserved for the host OS network address. Running on Linux/EC2 you mileage may vary here as that specific hostname appears to only be for the OSX version of Docker.
Additionally I had to ensure that the Kafka service was listening/bound to the appropriate networking device to allow inbound connections accessible to the Docker instance.
from kafka-webview.
Essentially googling for "docker how to connect to service on host" may be what you're looking to do. Keep in mind that Kafka complicates matters a bit in that you can configure/override the hostname/address it advertises.
For reference this is how I had the listeners property configured for my kafka brokers that allowed this to work for me. I had no explicitly defined advertised.host.name or advertised.listeners properties.
listeners=PLAINTEXT://:9092,SSL://:9093
Again your mileage may vary here. Hope this helps!
from kafka-webview.
Related Issues (20)
- Lets add warning log msgs when ignoring or overwriting user defined configuration values for deserializers HOT 1
- Kafka-Webview should provide option to "Stringify" ByteArray messages HOT 2
- Failing to connect to GSSAPI/SSL cluster HOT 2
- Custom protobuf deserializer failed because of pb version conflict HOT 2
- On View page, the "previous button" jump is twice as big as the "next button" jump. HOT 1
- use custom config.yml with docker
- Repository with ID="orgsourcelab-1031" not found HOT 1
- Expose actuator/health path without login HOT 1
- Selecting a Partition filter from a 'Stream' persists the partition as an enforced filter.
- Allow Filtering on Views Page HOT 3
- Consumer poll timeout is hardcoded
- How to Build this as a Single Jar/War file to deploy in server which doesn't have MVN/JDK HOT 2
- Disable server host name verification HOT 3
- "Unknown magic byte!" when deserializing avro message with TopicRecordNameStrategy HOT 2
- Mistake in environment variable name HOT 2
- Feature Request: Make `requestTimeoutMs` configurable per cluster HOT 3
- Security Update HOT 3
- [Docker] Execute web application fail while upgrade from v2.4.0 to 2.8.1 HOT 5
- Is webview vulnerable to Spring4Shell vulnerablity (CVE-2022-22965)? HOT 3
- unable to connect to AWS MSK clusters HOT 1
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 kafka-webview.