All Questions
Tagged with apache-zookeeper java
613
questions
0
votes
0
answers
11
views
Unexpected Kafka request of type METADATA during SASL handshake while trying to connect with kafka server by a consumer
I'm trying to setup SASL plain authentication in kafka. But when I try to read a message or send a message, the Kafka Server logs the following error:
INFO [SocketServer listenerType=ZK_BROKER, nodeId=...
-1
votes
0
answers
27
views
Kafka Streams with SASL Authenitattion
I am trying to secure my Kafka streams application (Java Springboot) with SASL_PLAINTEXT mechanism.
This is my docker-compose file
version: '3'
services:
zookeeper:
container_name: zookeeper
...
-1
votes
0
answers
24
views
Is there a compatibility matrix between apache curator and apache zookeeper?
I have a zookeeper running which is versioned 3.9.2,
but unfortunately, apache curator dependencies for the clients haven't been upgraded.
I would like to know what is the compatible version of apache ...
0
votes
0
answers
20
views
use dubbo-go as client to call java springboot registered method in zookeeper error
I have a Spring Boot service that has registered some methods with ZooKeeper through Dubbo, and here is the configuration file for that service.
spring:
cloud:
zookeeper:
connect-string: ...
0
votes
0
answers
66
views
Multiple instances of springboot running on same database - best way to handle concurrent db access
We have an environment where we run multiple spring boot web services all linked to a single database schema. All of them are registered to Eureka and a gateway is responsible of accepting client ...
0
votes
1
answer
41
views
Kafka consumerdoesn't receive messages in docker
I am creating a very basic consumer/producer setup for Kafka. I am using both Zookeper and Kafka with a Docker compose. Both seem to be connecting but when it comes to produce or consume, nothing ...
0
votes
0
answers
86
views
Error: VM option 'UseG1GC' is experimentError: Could not create the Java Virtual Machine.Error:A fatal exception has occurred.Programwillexit
i am getting this error while starting the zookeeper server
on macOs terminal.
bin/zookeeper-server-start.sh config/zookeeper.properties
I've checked the config file of zookeeper there is no such ...
0
votes
2
answers
101
views
Suppress Log4j Output from org.apache.zookeeper.ZooKeeper
I am building a test driver that will utilize org.apache.zookeeper.ZooKeeper. The library is dumping noisy output to the console that I would like to control or suppress.
I have attempted to create a ...
2
votes
1
answer
231
views
log4j properties doesn't apply after upgrading zookeeper from 3.6.3 to 3.9.1
In my Java project I have log4j2.xml file under recources which defines the logs format and logs level for each service of camel, kafka, zookeeper, springframework. I set a timestamp before each log ...
1
vote
0
answers
129
views
Dockerized spring boot app can't access host machine's kafka instance through localhost
I have a dockerized spring-boot web service that needs to produce to a Kafka topic. I'm running Kafka with Zookeeper locally on Ubuntu. My web service is running in Docker on the same machine. I have ...
1
vote
2
answers
533
views
Why Kafka doesn't start deployed on local k8s?
I have windows machine with installed docker + k8s(enabled from docker) instance
For create kafka instance in k8s I chosen here
To deploy kafka used this commands:
kubectl create namespace kafka
...
0
votes
0
answers
47
views
How to specify default Leader for Apache Curator
I am trying to create client for Apache Zookeeper server with Apache Curator.
Idea:
To create client for some worker or job that will be running with some interval. For now I have 3 clients with this ...
0
votes
0
answers
32
views
Performing a task when servers processing is finished
I have different instances of same service running, which are consuming same message (unique message id is part of message) from the queue and updating its internal store. Now there is a requirement ...
1
vote
1
answer
65
views
How to deploy my Apache Zookeeper image to AWS?
diagram
How can I deploy my application (3 microservices and an Apache Zookeeper docker image) to AWS?
Can I have an docker image running in AWS? Does it have any cost included?
All 3 microservice ...
0
votes
0
answers
134
views
RefreshScope bean are not getting updated on zookeeper config node values changed
I my trying to implement the dynamic property refresh in spring-boot application. My config server here is zookeeper. But it seems, that there's some issue and without application re-start the values ...