How to use correlation ID?

2021-10-15 Thread Maciej Wakula
Hello, I would like to use Correlation ID in a microservices REST application but I am not sure how the value should be dealt with. Let say user opened page example.com:80/register?email=n...@example.com The request received a correlationID="registerRequest:n...@example.com" and was

Re: Error while fetching metadata with correlation id 3

2017-12-28 Thread Ted Yu
both client & server) > > WARN Error while fetching metadata with correlation id 3 : > {abcdef=LEADER_NOT_AVAILABLE} > > >- OS - 14.04.1-Ubuntu >- Java - 8 > > > In kafka server.log I am seeing exception like below. I am using single > node kafka broker

Error while fetching metadata with correlation id 3

2017-12-28 Thread Debraj Manna
Hi I am seeing an warning like below and my kafka java producer client is not able to write to kafka broker. (Kafka version 0.10.0 both client & server) WARN Error while fetching metadata with correlation id 3 : {abcdef=LEADER_NOT_AVAILABLE} - OS - 14.04.1-Ubuntu - Java - 8 In k

Re: java.lang.IllegalStateException: Correlation id for response () does not match request ()

2017-11-29 Thread Aarti Gupta
) at com.vmware.vchs.hybridity.messaging.adapter.EventListenerAdapter$1.run(EventListenerAdapter.java:125) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.IllegalStateException: Correlation id for response (386681) does not match request (386680), request header: {api_key=9,api_version=3,correlatio

KAFKA (0.10.0.0) - Error while fetching metadata with correlation id

2017-03-09 Thread Barot, Abhishek
Hi, We are running KAFKA 0.10.0.0 but at times I see below error while starting STORM topologies. org.apache.kafka.clients.NetworkClient WARN - Error while fetching metadata with correlation id 325376 : {aceb3102-62d9-4809-b01b-6c69ebacbc90=UNKNOWN} Looks like KAFKA consumer

Re: java.lang.IllegalStateException: Correlation id for response () does not match request ()

2017-03-06 Thread Ismael Juma
s, some of our clients occasionally see this > exception: > java.lang.IllegalStateException: Correlation id for response (4564) > does not match request (4562) > at org.apache.kafka.clients.NetworkClient.correlate( > NetworkClient.java:486) > at org.apache.kafka.cli

java.lang.IllegalStateException: Correlation id for response () does not match request ()

2017-03-06 Thread Mickael Maison
Hi, In one of our clusters, some of our clients occasionally see this exception: java.lang.IllegalStateException: Correlation id for response (4564) does not match request (4562) at org.apache.kafka.clients.NetworkClient.correlate(NetworkClient.java:486) at

Re: Correlation Id errors for both console producer and consumer

2017-01-18 Thread Zac Harvey
Anybody ever seen this before? Anybody have any ideas as to where I can start troubleshooting? From: Zac Harvey Sent: Tuesday, January 17, 2017 4:40:35 PM To: users@kafka.apache.org Subject: Re: Correlation Id errors for both console producer and consumer Hi

Re: Correlation Id errors for both console producer and consumer

2017-01-17 Thread Zac Harvey
Hi Jeff, Versions: Kafka: kafka_2.11-0.10.0.0 ZK: zookeeper-3.4.6 Let me know if you need any more details/info. Thanks! -Zac From: Jeff Widman Sent: Tuesday, January 17, 2017 4:38:07 PM To: users@kafka.apache.org Subject: Re: Correlation Id errors for both

Re: Correlation Id errors for both console producer and consumer

2017-01-17 Thread Jeff Widman
> topic by entering some text (such as "hello") and hitting the ENTER key, I > immediately begin seeing this: > > [2017-01-17 19:45:57,353] WARN Error while fetching metadata with > correlation id 0 : {test1=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients. > Network

Correlation Id errors for both console producer and consumer

2017-01-17 Thread Zac Harvey
fine without any issues. However, in the producer terminal, if I "fire" a message at the test1 topic by entering some text (such as "hello") and hitting the ENTER key, I immediately begin seeing this: [2017-01-17 19:45:57,353] WARN Error while fetching metadata with corre

Re: WARN Error while fetching metadata with correlation id 1 : {MY_TOPIC?=INVALID_TOPIC_EXCEPTION} (org.apache.kafka.clients.NetworkClient)

2016-04-05 Thread Ratha v
ka broker which runs in ec2) > > *#./kafka-console-consumer.sh --new-consumer --bootstrap-server > kafka.xx.com:9092 <http://kafka.xx.com:9092> --topic MY_TOPIC?* > > [1] > -- [2016-04-06 10:57:45,839] WARN Error while fetching metadata with > correlation id 1 : {MY_TOPIC?=INVALID_TOPI

WARN Error while fetching metadata with correlation id 1 : {MY_TOPIC?=INVALID_TOPIC_EXCEPTION} (org.apache.kafka.clients.NetworkClient)

2016-04-05 Thread Ratha v
com:9092> --topic MY_TOPIC?* [1] -- [2016-04-06 10:57:45,839] WARN Error while fetching metadata with correlation id 1 : {MY_TOPIC?=INVALID_TOPIC_EXCEPTION} (org.apache.kafka.clients.NetworkClient) [2016-04-06 10:57:46,066] WARN Error while fetching metadata with correlation id 3

Re: Correlation id

2013-08-20 Thread Timothy Chen
to of those 2 requests ? Correlation Id helps > here. > AFAIK, correlation Id is added to produce requests and broker uses the same > id in its response so that the producer can keep track of its requests. > Correlation Id also helps in debugging issues as now you can uniquely > identify

Re: Correlation id

2013-08-19 Thread Tejas Patil
Multiple produce requests are sent asynchronously over the same socket. Suppose you send 2 requests and get back single response, how do you figure out which one it corresponds to of those 2 requests ? Correlation Id helps here. AFAIK, correlation Id is added to produce requests and broker uses

Correlation id

2013-08-19 Thread Timothy Chen
Hi, This is probably a very obvious questoin, but I cannot find the answer for this. What does the correlation id mean in a producer request? Tim

Re: Fetch request with correlation id 1171437 from client ReplicaFetcherThread-0-1 on partition [meetme,0] failed due to Leader not local for partition

2013-06-29 Thread Jun Rao
gt; How > > to > > > avoid this issue in the future? What's the right way to shutdown kafka > to > > > prevent Not Leder Exception > > > > > > Thanks so much in advance, > > > Vadim > > > > > > > > > &

Re: Fetch request with correlation id 1171437 from client ReplicaFetcherThread-0-1 on partition [meetme,0] failed due to Leader not local for partition

2013-06-28 Thread Vadim Keylis
t; Thanks so much in advance, > > Vadim > > > > > > > > [2013-06-28 10:46:53,281] WARN [KafkaApi-1] Fetch request with > correlation > > id 1171435 from client ReplicaFetcherThread-0-1 on partition [meetme,0] > > failed due to Leader not local for partit

Re: Fetch request with correlation id 1171437 from client ReplicaFetcherThread-0-1 on partition [meetme,0] failed due to Leader not local for partition

2013-06-28 Thread Jun Rao
e in the future? What's the right way to shutdown kafka to > prevent Not Leder Exception > > Thanks so much in advance, > Vadim > > > > [2013-06-28 10:46:53,281] WARN [KafkaApi-1] Fetch request with correlation > id 1171435 from client ReplicaFetcherThread-0-1 on

Re: Fetch request with correlation id 1171437 from client ReplicaFetcherThread-0-1 on partition [meetme,0] failed due to Leader not local for partition

2013-06-28 Thread Joel Koshy
> >> > > > > >> > > > > On Fri, Jun 28, 2013 at 10:57 AM, Vadim Keylis < >> > vkeylis2...@gmail.com >> > > > >wrote: >> > > > > >> > > > > > Good morning. I have a cluster of 3 kafka nodes. They were both >> > > > running a

Re: Fetch request with correlation id 1171437 from client ReplicaFetcherThread-0-1 on partition [meetme,0] failed due to Leader not local for partition

2013-06-28 Thread Vadim Keylis
10:57 AM, Vadim Keylis < > > vkeylis2...@gmail.com > > > > >wrote: > > > > > > > > > > > Good morning. I have a cluster of 3 kafka nodes. They were both > > > > running at > > > > > > the time. I need it to make config

Re: Fetch request with correlation id 1171437 from client ReplicaFetcherThread-0-1 on partition [meetme,0] failed due to Leader not local for partition

2013-06-28 Thread Joel Koshy
le > > > and > > > > > restart kafka. I have not broker shutdown tool, but simple used > pkill > > > -TERM > > > > > -u ${KAFKA_USER} -f kafka.Kafka. That suddenly cause the > exception. > > > How to > > > >

Re: Fetch request with correlation id 1171437 from client ReplicaFetcherThread-0-1 on partition [meetme,0] failed due to Leader not local for partition

2013-06-28 Thread David DeMaagd
ave not broker shutdown tool, but simple used pkill > > -TERM > > > > -u ${KAFKA_USER} -f kafka.Kafka. That suddenly cause the exception. > > How to > > > > avoid this issue in the future? What's the right way to shutdown kafka > > to > &g

Re: Fetch request with correlation id 1171437 from client ReplicaFetcherThread-0-1 on partition [meetme,0] failed due to Leader not local for partition

2013-06-28 Thread Vadim Keylis
; > -u ${KAFKA_USER} -f kafka.Kafka. That suddenly cause the exception. > How to > > > avoid this issue in the future? What's the right way to shutdown kafka > to > > > prevent Not Leder Exception > > > > > > Thanks so much in advance, > >

Re: Fetch request with correlation id 1171437 from client ReplicaFetcherThread-0-1 on partition [meetme,0] failed due to Leader not local for partition

2013-06-28 Thread David DeMaagd
nly cause the exception. How to > > avoid this issue in the future? What's the right way to shutdown kafka to > > prevent Not Leder Exception > > > > Thanks so much in advance, > > Vadim > > > > > > > > [2013-06-28 10:46:53,281] WARN [KafkaA

Re: Fetch request with correlation id 1171437 from client ReplicaFetcherThread-0-1 on partition [meetme,0] failed due to Leader not local for partition

2013-06-28 Thread Vadim Keylis
tion > > Thanks so much in advance, > Vadim > > > > [2013-06-28 10:46:53,281] WARN [KafkaApi-1] Fetch request with correlation > id 1171435 from client ReplicaFetcherThread-0-1 on partition [meetme,0] > failed due to Leader not local for partition [meetme,0] on broke

Fetch request with correlation id 1171437 from client ReplicaFetcherThread-0-1 on partition [meetme,0] failed due to Leader not local for partition

2013-06-28 Thread Vadim Keylis
to avoid this issue in the future? What's the right way to shutdown kafka to prevent Not Leder Exception Thanks so much in advance, Vadim [2013-06-28 10:46:53,281] WARN [KafkaApi-1] Fetch request with correlation id 1171435 from client ReplicaFetcherThread-0-1 on partition [meetme,0] faile