influxdata/telegraf

inputs.eventhub_consumer: Support setting a proxy

開放

#15,588 建立於 2024年7月2日

 (1 則留言) (0 個反應) (0 位負責人)Go (5,838 個分叉)batch import
feature requesthelp wantedsize/l

倉庫指標

星標
 (17,763 顆星)
PR 合併指標
 (平均合併 2天 12小時) (30 天內合併 136 個 PR)

描述

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: https://github.com/Azure/azure-event-hubs-go/issues/163

However, this answer suggests that it is possible using the newer "azeventhubs": https://github.com/Azure/azure-event-hubs-go/issues/163#issuecomment-2124205621

貢獻者指南