public class EventHubReceiverImpl extends Object implements IEventHubReceiver
| Constructor and Description |
|---|
EventHubReceiverImpl(EventHubSpoutConfig config,
String partitionId) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Map |
getMetricsData() |
boolean |
isOpen() |
void |
open(com.microsoft.eventhubs.client.IEventHubFilter filter) |
EventData |
receive(long timeoutInMilliseconds) |
public EventHubReceiverImpl(EventHubSpoutConfig config, String partitionId)
public void open(com.microsoft.eventhubs.client.IEventHubFilter filter)
throws com.microsoft.eventhubs.client.EventHubException
open in interface IEventHubReceivercom.microsoft.eventhubs.client.EventHubExceptionpublic void close()
close in interface IEventHubReceiverpublic boolean isOpen()
isOpen in interface IEventHubReceiverpublic EventData receive(long timeoutInMilliseconds)
receive in interface IEventHubReceiverpublic Map getMetricsData()
getMetricsData in interface IEventHubReceiverCopyright © 2022 The Apache Software Foundation. All Rights Reserved.