All Questions
Tagged with apache-zookeeper spring-boot
51
questions
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 ...
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
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 ...
0
votes
1
answer
259
views
Zookeeper vs DynamoDB LockProvider
I am making changes to a Java project and it is not required to use DB for shedlock for running tasks at one node.
Can I use only ZoopKeeperCurator to run the scheduled task at only one node at a time?...
2
votes
0
answers
453
views
Zookeeper : java.lang.ClassNotFoundException: org.apache.zookeeper.admin.ZooKeeperAdmin after updating spring boot
I am trying to update an springboot application which uses org.apache.zookeeper.zookeeper.
After updating the spring boot version. I am getting one of the two errors given below depending upon the ...
1
vote
1
answer
1k
views
Apache Curator + Spring Boot: Simple Observer pattern example
I am trying to start a basic project structure where multiple spring boot application will share resources using apache curator.
I am following the guides specified in documentation but changing the ...
3
votes
1
answer
5k
views
Zookeeper : java.lang.ClassNotFoundException: org.apache.zookeeper.admin.ZooKeeperAdmin
I had a zookeeper with version 3.4.10 and curator with version 2.12.0 but zookeeper with versions less than 3.5.8 has a strict transitive dependency on log4j1.
I would like to use log4j2 that's why it'...
0
votes
1
answer
252
views
Is there way to watch one ZNode in two process in zookeeper?
I have /math is the root node(have been set Watcher on this on in both processes). I create child node math/exam01 in process A, and create child node math/exam02 in process B(after create child math/...
0
votes
0
answers
2k
views
Why i've this error in loop "Fetch offset 437 is out of range for partition , resetting offset"
I've this loop when connect to my kafka server:
[m[32m[30/07/2020 14:19:56] [DEBUG ] [Consumer clientId=consumer-KOSILCConsumer-1, groupId=KOSILCConsumer] Initiating connection to node kafka1:...
2
votes
0
answers
227
views
How to lock zookeeper node data using spring boot?
I need to create a spring boot rest API from which I can get data(custom integer ID) from a node, increment it and again update it to the same node.
I am using this into a distributed environment so I ...
0
votes
0
answers
52
views
How to run multiple gradle bootRun at startup on OSX?
I'm trying to edit bash_profile to run two gradle repos at startup, but it doesn't seem to work. I can only run one and the other one never gets to run. Also, whenever I open a new terminal window, it ...
1
vote
0
answers
861
views
This server is in the failed servers list (failed on local exception: org.apache.hadoop.hbase.ipc.FailedServerException)
While connecting from local machine Java Program to the Hbase server's zookeeper we are getting following error
failed on local exception:
org.apache.hadoop.hbase.ipc.FailedServerException: This ...
1
vote
1
answer
971
views
Spring Boot App refuses to connect to the Kafka brokers
So I just recently started on using Kafka and for some odd reason, although the kafka and zookeeper servers containers are running as intended on the documentation and by using the command docker ps. ...