question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Subscriber not listening all messages from EventHub

See original GitHub issue

We are trying to use Eventhub in our application as notification channel. Presently we are facing issue with subscribing the message, the subscriber picks 1 message out of 4 message.

Expected Behavior

To be subscribe all the messages from event hub

Current Behavior

Subscriber not receiving all messages which are send by Publisher

Snapshot Code for Reproduce

@Component
@EnableBinding(Sink.class)
public class HUDInvoiceEventListener {

    @StreamListener(Sink.INPUT)
    public void handleMessage(String message) throws Exception {
        System.out.println(String.format("New message received: '%s'", message));
    }
}

Sample Screenshot: We sent 15 request with message 1 to 15, but our subscriber receives only 4 out of 15. image

Your Environment

  • Version used: spring-cloud-azure-eventhubs-stream-binder
  • Operating System and version (desktop or mobile): windows & linux (both platforms have it)
  • SDK version: spring-cloud-azure-eventhubs-stream-binder 1.2.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
saraglunacommented, Jun 18, 2020

@rodrigolopes Thanks for the info and we’ll look into it.

1reaction
saraglunacommented, Jun 16, 2020

@rodrigolopes Do you have a sample project that I could reproduce the issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why Azure event hub subscriber not working? - Stack Overflow
I am successfully able to publish the message with the same configuration. Publisher and Subscriber are running on the same machine. I have ......
Read more >
Troubleshoot connectivity issues - Azure Event Hubs
There are various reasons for client applications not able to connect to an event hub. The connectivity issues that you experience may be ......
Read more >
Azure Event Hubs Consumer Groups | Serverless Notes
In this article, you will understand about creating multiple consumer groups in Azure Event Hubs to support multiple subscribers.
Read more >
Adventures with Dapr | Publishing & Subscribing events to ...
Since the subscriber service is not ready, listen to messages, connect to Azure Event Hub using the Azure Event Hub explorer extension, ...
Read more >
Azure Event Grid vs Event Hub Comparison | Serverless360
Having multiple handlers or listeners in Event Hubs listening to the same partition is a bit tricky. If you straight away assign all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found