In between the 2 REST subscribe calls with different consumer groups, if the 
producer publishes the messages to a topic, the 2nd REST call will not receive 
any messages as the 2nd consumer group is not subscribed to a Topic, before the 
producer publishes the messages. There is no change in the message received for 
any subsequent REST subscribe calls.


Thanks,
Sunil

From: William Kurkian <[email protected]>
Sent: Thursday, June 28, 2018 11:56 AM
To: UNNAVA, SUNIL <[email protected]>
Cc: [email protected]
Subject: Re: [onap-discuss] [dmaap] DMaaP API

Ok, let me see if I understand.

I can subscribe to a topic with this REST call:  GET 
http(s)://{HOST:PORT}}/events/{topicname}/{consumegroup}/{consumerid}/{timeout=x}.

Once the client gets a response with messages, they issue another REST call to 
wait for more.
At the same time there is another client also issuing calls. Naturally, they 
are not issuing calls at the exact same time.

Based on what I am seeing in my terminal, they may not both receive some 
messages if the other one has not received it, even if they use different 
consumer groups.

Is there something I am not understanding in this ?

Thanks,
William

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10675): https://lists.onap.org/g/onap-discuss/message/10675
Mute This Topic: https://lists.onap.org/mt/22867594/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to