azure-eventhub

Unexpected error code 13 while fetching data Spring-Cloud-Stream Kafka Azure event hub -

雨燕双飞 提交于 2019-12-13 04:27:37
问题 It was working fine suddenly this issue popup since 18th Dec, could not find any clue, what suddenly this exception is coming continuously after 6 month working fine. I am not able to reproduce in local standalone and but it comes in The docker images with micro-services and one of these communicate with Azure even hub . I have search and found this post. In this post also reported same issue what i am facing but could not find any resolution or clue so I am posting this question. Please

Azure Functions - Event Hub not triggering Functions

穿精又带淫゛_ 提交于 2019-12-13 03:47:32
问题 I have an Azure infrastructure: 2 HTTP Functions -> Event Hub -> 2 Functions -> Table Storage (so two http functions sending messages to event hub, and two functions triggered by messages in Event Hub, one of them saving message in table storage) The infrastructure is daily automatically created by Azure ARM templates, with the use of Azure CLI. I haven't changed the logic in recent two months but since beginning of April I have noticed the new, weird behaviour. At the end of setting up, E2E

How to provide the complete path of the container in AzureStorageCheckpointLeaseManager class

∥☆過路亽.° 提交于 2019-12-13 02:50:56
问题 I am using EPH ( EventProcessorHost) class of Azure python SDK to receive events from the eventhub. It actually uses AzureStorageCheckpointLeaseManager for checkpointing and partitioning in the storage account. But I cannot see where I can write the full path of the storage account. Like it directly create files inside the specified container in the storage account. I would like to give the full path inside the container. Where can I do that? 回答1: Here is my research: In

Azure eventhub multiple partition key points to same partition

筅森魡賤 提交于 2019-12-12 21:20:04
问题 We are working on a multi-tenant application where eventhub will be shared among different tenants. We will distribute the partitions among our tenants. Every tenant will sending message on different partition. We want to authenticate tenant on partition level. As describe on Microsoft site, we defined partition key based on tenant Id. But the problem is more then one partition key is sending message on same partition. Which should not be the case. Ideally every partition key should be mapped

Can I change the Azure Function Event Hub trigger starting checkpoint?

不打扰是莪最后的温柔 提交于 2019-12-12 05:49:29
问题 When I stand up a new Azure Function listening to our event hub, with a new consumer group, it gets all the messages that have ever been sent to the event hub, even from months ago somehow. I thought setting the message retention on the hub to one day would limit that, but apparently not. Anyway, I really only want the new Azure Function to receive events from the initial deployment or testing point onward, however I don't know how I can specify that initial starting checkpoint, since that

'Connection aborted' error while trying to send events to Azure Event Hub using java EventHubClient API

佐手、 提交于 2019-12-12 03:05:53
问题 I am trying to write a java publisher program, to send a single message to event hub. but, when i try to execute it i get a connection aborted error. I am using maven dependency specified in below link(azure-eventhubs) and version of 0.9.0 Below is the link i am trying to follow and the main method . https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-java-ephcs-getstarted public static void main(String[] args) throws ServiceBusException, ExecutionException, InterruptedException,

Code never get past call to: eventProcessorHost.RegisterEventProcessorAsync<ListenEventProcessor>

霸气de小男生 提交于 2019-12-12 02:12:47
问题 I am using an Azure Event Hub as backplane for my SignalR Web App (asp.net mvc, 4.5.2). I have some problems with creating a client that can listen for messages. The loading of the entire application stops at this line when this application start up. await eventProcessorHost.RegisterEventProcessorAsync<ListenEventProcessor>(options); my code: public class TCT { // Singleton instance private static readonly Lazy<TCT> Instance = new Lazy<TCT>(() => new TCT(GlobalHost.ConnectionManager

Event retention in Microsoft Azure EventHub

痞子三分冷 提交于 2019-12-12 01:59:55
问题 I was checking on details about message retention in event hub. Suppose, I have set the retentionPolicy as 1 day and I had send some messages. Then, if I change the message retentionPolicy to 3 days, will the existing eventData also be retained for 3 days? 回答1: Absolutely Yes. And one more important detail about retention policy - EventHubs does not apply the retention policy at message level . Its at file-system level. EventHubs is a high-throughput event ingestion pipeline. In-short it's a

Redeliver unprocessed EventHub messages in IEventProcessor.ProcessEventsAsync

寵の児 提交于 2019-12-12 01:56:31
问题 In IEventProcessor.ProcessEventsAsync I want to store events in a persisted store. It's possible this store is unavailable and messages cannot be persisted. How to sign these messages to be redelivered later? The store may be down only for some hours, but until it's up again every message is affected and cannot be persisted. 回答1: I don't think you can mark a particular event to be delivered in eventhub, unlike ServiceBus queue. However, eventhub does provide retention policy and offset for

com.microsoft.azure.eventhubs.EventHubException: connection aborted error

回眸只為那壹抹淺笑 提交于 2019-12-12 01:12:09
问题 I am getting error, when calling below method, it's failing at line " eventHubClient.get().send(messageData) " def sendEvent(message: String) = { val messageData = EventData.create(message.getBytes("UTF-8")) println(messageData) eventHubClient.get().send(messageData) System.out.println("Sent event: " + message + "\n") } Error I am getting; com.microsoft.azure.eventhubs.EventHubException: connection aborted at com.microsoft.azure.eventhubs.impl.ExceptionUtil.toException(ExceptionUtil.java:58)