I plan to utilize all 32 partitions in Azure event hubs. Requirement: "Ordered" processing per partition is critical.. Question: If I increase the TU's (Throughput Units) to max available of 20 across all 32 partitions, I get 40 MB of egress. Let's say I calculated that I need 500 parallel client threads processing in parallel (EventProcessorClient) to achieve my throughput needs. How do I achieve this level of parallelism with EventProcessorClient while honoring my "Ordering" requirement? Btw, In Kafka, I can create 500 partitions in a topic and Kafka allows only 1 thread per partition guaranteeing event order.
In-order processing in Azure event hubs with Partitions and multiple "event processor" clients
1.4k Views Asked by teeboy At
1
There are 1 best solutions below
Related Questions in AZURE
- Why does Azure Auto-Scale scale go lower then minimum amount of instances?
- Data execution plan ended with error on DB restore
- Why does Azure CloudConfigurationManager.GetSetting return null
- Do I need other roles than Worker Role for a web site and service layer in Azure?
- Azure Web App PATH Variable Modification
- Azure Data Factory: LinkedService for AzureSql in failed state
- How To Update a Web Application In Azure and Keep The App Up the whole time
- Using Azure MobileServices library with my own LAN WebApi
- ionCube loader error on Azure IIS
- App crash (if closed) after click on notification
- How to get sql data bases instances in azure using java api
- I want to create file in azure share using python PUT requests but getting error signature not correct including headers
- Enabling OPTIONS method on Azure Cloud Service (to enable CORS)
- Redirecting subdomain to directory on Azure
- Kaltura account settings error
Related Questions in APACHE-KAFKA
- Spark streaming + kafka throughput
- How to diagnose Kafka topics failing globally to be found
- kafka: what do 'soTimeout', 'bufferSize' and 'minBytes' mean for SimpleConsumer?
- Fail to create SparkContext
- Syntax error on tokens, delete these tokens - kafka spring integration demo application
- How could Kafka 0.8.2.1 with offsets.storage=kafka still require ZooKeeper?
- Message Queues: Per Message Guarantees
- How should a Kafka HLC figure out the # of partitions for a topic?
- Kafka multiple consumers for a partition
- Should Apache Kafka and Hadoop be installed seperatedly (on a diffrent cluster)?
- how does one combine kafka-node producer and node tail?
- How to fix NoClassDefFoundError with custom Kafka producer under Eclipse?
- Apache Samza's CheckpointTool won't give away partition offsets
- Offsets for Kafka Direct Approach in Spark 1.3.1
- Simulate kafka broker failures in multi node kafka cluster and what operations and tools to use to mitigate data loss issues
Related Questions in AZURE-EVENTHUB
- How to send data as CSV on Eventhub for Azure Stream Analytics?
- Stream Analytics Output
- Any APIs to get list of consumer groups created in Azure IotHub?
- Azure Cloud Service - EventProcessor IEventProcessor.ProcessEventsAsync not getting hit
- (412) A lease ID was specified, but the lease for the blob has expired
- What is causing Azure Event Hubs ReceiverDisconnectedException/LeaseLostException?
- When does Azure's EventProcessorHost call IEventProcessor.ProcessEventsAsync?
- What Azure .NET SDK EventHubClient instance methods are threadsafe?
- Load testing Azure EventHub
- Azure ServiceBus Eventhub, is the "offset" still available/durable when some of event data is expired?
- Why can't EventData.GetBytes() be called before sending?
- Message payload change while adding extra property in the main eventmessage to IoT Hub - (Using rest client)
- Event Hub receiver does not read all messages
- How can I use the Azure ServiceBus EventProcessorHost library with a short-lived SAS token?
- How would I use Reddis + Azure Event Hubs to handle mobile push notifications archiving for billions of topics?
Related Questions in EVENT-STREAM-PROCESSING
- Replaying event store
- Event stream disk size
- On-Demand Query with siddhi fails
- In-order processing in Azure event hubs with Partitions and multiple "event processor" clients
- How to trigger a line of code in window based CEP
- system design - How to update cache only after persisted to database?
- Is it possible to achieve Exacly Once Semantics using a BASE-fashioned database?
- Stream processing architecture
- PHP closing connections when too many
- Stream processing alternatives
- Recommendations to store streaming events
- How to produce messages with consecutive numbers with Kafka?
- Sink for user activity data stream to build Online ML model
- Use Kinesis Analytics for analyzing events and related missing events, separated in time?
- Generate "fake" stream data. Kafka - Flink
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
In short, you really can't do what you're looking to do in the way that you're describing.
The
EventProcessorClientis bound to a given Event Hub and consumer group combination and will collaborate with other processors using the same Event Hub/consumer group to evenly distribute the load. Adding more processors than the number of partitions would result in them being idle. You could work around this by using additional consumer groups, but theEventProcessorClientinstances will only coordinate with others in the same consumer group; the processors for each consumer group would act independently and you'd end up processing the same events multiple times.There are also quotas on the service side that you may not be taking into account. Assuming that you're using the Standard tier, the maximum number of concurrent reads that you could have for one Event Hub, across all partitions, with the standard tier is 100. For a given Event Hub, you can create a maximum of 20 consumer groups. Each consumer group may have a maximum of 5 active readers at a time. The Event Hubs Quotas page discusses these limits. That said, a dedicated instance allows higher limits but you would still have a gap with the strict ordering that you're looking to achieve.
Without knowing more about your specific application scenarios, how long it takes for an event to be processed, the relative size of the event body, and what your throughput target is, its difficult to offer alternative suggestions that may better fit your needs.