-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Azure Event Hub - Quarkus Dev Service #57
Comments
First, this would require having an extension for Azure Event Hub under quarkiverse/quarkus-azure-services. We have an extension (including some tests) in Camel Quarkus. The code could be ported from there.
Could anybody from subject matter experts confirm that this idea could work? Maybe we could use Azurite? |
Hi all, I have a relatively rudimentary implementation of this on the go currently for a project. I use the EventProcessorClientBuilder found here inside of an application scoped bean in a Quarkus 3 application. This works however there are some interesting quirks that I've been hoping someone could help with for a while now.
Update: Sorry for all the edits. Trying to clarify some things. One more piece of information, I've been looking at the camel-quarkus code but I can't seemingly find any runtime code. I see the EventProcessorClient is being used similar to what I'm doing but it all just looks like deployment configuration to me, I can't find any runtime code. Is the camel extension just reading the classes and registering them? Here's what I'm talking about. Maybe someone working on that extension could provide some insight? |
Suffice it to say I'd very much like to see this feature! Here to help however I may be of use. |
Update to this: I found that by making my event processing bean implement Runnable and giving the MS EventHub client its own single thread, this resolved the interrupted exceptions I had been receiving. I also found that setting the log level for the com.azure package works to silence the logs, so that was pretty cool! Still don't like the checkpointstore going to blob storage but what can ya do? These are all quirks of the Azure library but they're useful things to know for anyone implementing it in a Quarkus project currently. |
As Developer,
Would be great to be able to have a Dev Service in Quarkus that allows me to use Azure Event Hub without requiring any internet connection for my local environment.
I would suggest having the following functionalities:
Since Azure Event Hub has compatibility with Apache Kafka, I would recommend using Red panda since is a service already used in Quarkus from another service to support Kafka in Dev Mode.
There are already some functionalities supported by Quarkus community for Kafka https://quarkus.io/guides/kafka#azure-event-hub but this is used only to connect to Azure Event Hub.
Documentation:
https://redpanda.com/
The text was updated successfully, but these errors were encountered: