Skip to content
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

inputs.eventhub_consumer: Support setting a proxy #15588

Open
kpdo opened this issue Jul 2, 2024 · 1 comment
Open

inputs.eventhub_consumer: Support setting a proxy #15588

kpdo opened this issue Jul 2, 2024 · 1 comment
Labels
feature request Requests for new plugin and for new features to existing plugins help wanted Request for community participation, code, contribution size/l 1 week or more effort

Comments

@kpdo
Copy link

kpdo commented Jul 2, 2024

Use Case

I want to be able to set a proxy for inputs.eventhub_consumer to able to consume an Azure event hub from behind a corporate proxy.

Expected behavior

I expected to be able to set a proxy in the telegraf config.

Actual behavior

Such a setting does not exist for inputs.eventhub_consumer

Additional info

The currently used library "azure-event-hubs-go" seems to not support that, see: Azure/azure-event-hubs-go#163

However, this answer suggests that it is possible using the newer "azeventhubs": Azure/azure-event-hubs-go#163 (comment)

@kpdo kpdo added the feature request Requests for new plugin and for new features to existing plugins label Jul 2, 2024
@powersj
Copy link
Contributor

powersj commented Jul 2, 2024

We already have two other issues documenting the need to migrate away from the current library and to azeventhubs. I'd rather not have a third:

However, the suggestion here is to start using a custom connection to also grab the proxy from the environment. This addition is a bit more than just moving libraries, so we can keep this one open for now.

Happy to see a PR migrating to the new library.

@powersj powersj added help wanted Request for community participation, code, contribution size/l 1 week or more effort labels Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for new plugin and for new features to existing plugins help wanted Request for community participation, code, contribution size/l 1 week or more effort
Projects
None yet
Development

No branches or pull requests

2 participants