Questions tagged [event-processor-host]
27 questions
8
votes
2 answers
How to pass parameters to an implementation of IEventProcessor
I am busy implementing a EventProcessorHost client for an azure EventBus client.
I have a class that implements IEventProcessor as follows:
public class MyEventProcessor : IEventProcessor
{
Stopwatch checkpointStopWatch;
…

Zapnologica
- 22,170
- 44
- 158
- 253
6
votes
1 answer
About checkpoint strategy in event hub processor
I use event hubs processor host to receive and process the events from event hubs. For better performance, I call checkpoint every 3 minutes instead of every time when receiving the events:
public async Task ProcessEventAsync(context, messages)
{
…

Youxu
- 1,050
- 1
- 9
- 34
5
votes
2 answers
Should we use the Microsoft.Azure.EventHubs.Processor library with .NET framework
Context
We're currently using Microsoft.Azure.ServiceBus.EventProcessorHost for data ingestion from an Azure Event-Hub. We run on .NET framework, not .NET Core.
This Microsoft announcement (published Feb 2, 2017) suggests the newer…

Francis MC
- 53
- 3
3
votes
0 answers
Outgoing messages are more than incoming messages in Event Hub when using EventProcessorHost
I am using Azure Event hub. Outgoing messages from Event hub are processed by application using EventProcessorHost.
Event hub has one consumer group i.e. $Default.
I am seeing outgoing messages are more than incoming messages.
Not sure why outgoing…

Amit Agrawal
- 51
- 2
- 16
2
votes
1 answer
Azure Event Processor Host java library - ReceiverRuntimeInformation doesn't have actual stats on a partition
I am trying to get the last enqueued sequence number to track the lag between consumer and producer at the consumer end by leveraging ReceiverRuntimeInformation object provided by PartitionContext when a event is received. However,…

tjmn
- 469
- 1
- 6
- 11
2
votes
1 answer
How can I use the Azure ServiceBus EventProcessorHost library with a short-lived SAS token?
There is a REST service I call which doles out short-lived (around 20 minutes) SAS tokens for reading from an Azure event hub. I would like to avoid a solution where I have to tear down all of the listeners and recreate them every 20 minutes when…

Peter Friend
- 750
- 1
- 7
- 17
1
vote
1 answer
If an Azure Function App scales down to 0 in a Consumption Plan, how can it listen to incoming events from Event Hub?
Suppose I have an Azure Function App in a Consumption Plan listening on an Azure Event Hub. According to this documentation, the number of function app instances can scale down to 0 if there are no incoming events. In my understanding, every…

Christian Vorhemus
- 2,396
- 1
- 17
- 29
1
vote
1 answer
Implementing ILeaseManager for EventProcessorHost
On the project I am working on I DO NOT want to use Azure Storage to manage my offsets and checkpoints and plan to use a database approach to store them instead. I am using EventProcessor to read events from an event hub and I understand I can…

BigAl1992
- 67
- 1
- 2
- 11
1
vote
1 answer
Exceptions in Microsoft.Azure.EventHubs.Processor Which resulted in CPU blocking
We have a web job which uses "Microsoft.Azure.EventHubs.Processor". It started throwing below exceptions all of a sudden after continuously running without any issues more than 1 month. which resulted in CPU blockage. see the graph. We had to…

K.P.
- 105
- 1
- 9
1
vote
1 answer
two event processor hosts registered on the same event hub
I'm new on Azure services and I'm trying to learn the Event Hub.
I want to use the Event Hub as a fifo queue across multiple consumer. But I have some problems with lease management.
I have deployed two instances of my eph and I want use the same…

M.Love
- 23
- 5
1
vote
1 answer
How to process the message on failure inside IEventProcessor.ProcessEvents method
The application has an implementation of IEventProcessor. When an unhandled exception is thrown from the ProcessEventsAsync method the EventProcessorHost never re-sends those messages to the running instance of IEventProcessor. (It will re-send if…

Vinu
- 27
- 4
1
vote
1 answer
Event Processor Host not receiving messages
I have an azure worker role with an event processor host connected to an azure event hub. For some unknown reason - it will not get any messages.
logs show that it opens an EventProcessor for every partition - and there are no errors - but…

gilmishal
- 1,884
- 1
- 22
- 37
1
vote
1 answer
Azure Event Hub Offset
I have implemented the code from the below link for receiving events from the event hub. But say there are 10 events and checkpoint is done for every 5 events. Now the program exits abnormally when reading the 7th event and if i restart the event…

user1099593
- 21
- 6
1
vote
0 answers
Event Hub message distribution
We are using IoT Hub for ingesting device data. We currently are making use of 10 partitions to process messages. Running 5 workers would therefore have each instance processing 2 partitions.
What we have found is if a device connects and offloads…

David
- 693
- 7
- 20
1
vote
1 answer
Getting your data out of an EventProcessorHost
I'm very new to using EventProcessorHost and IEventProcessor and I'm trying to figure out how to get my data out of the EventProcessorClass. I currently have everything up and working if I just want to log the new messages to the console.
My current…

Tommy
- 350
- 3
- 11