Custom EventHubDataAdapter for EventHub Messages Without Partition Key #9641
Unanswered
klasrpersson
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to build a custom EventHubDataAdapter to process EventHub messages that originate from EventGrid. These messages:
I started with the CustomDataAdapter sample project and attempted to hardcode both the stream namespace and the stream key. However, this approach doesn't seem to work reliably — I only receive messages from the first partition.
All messages are read from EventHub and placed in the internal cache but then only some of them get all the way to the grain.
As a test, I modified the adapter to randomize a unique stream key for each message. With this change, all messages reach a grain as expected but obviously not the correct grain since is was just randomized.
Given this behavior i thought i could have something to do with the usage of QualifiedStreamId in the PersistentStreamPullingAgent but im not sure.
Questions:
Any guidance or recommendations would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions