public class AbstractEventHubTemplate extends Object
The main event hub component for sending to and consuming from event hub
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
buildPropertiesMap() |
protected void |
createEventProcessorClient(String name,
String consumerGroup,
EventHubProcessor eventHubProcessor) |
CheckpointConfig |
getCheckpointConfig() |
EventHubMessageConverter |
getMessageConverter() |
StartPosition |
getStartPosition() |
<T> reactor.core.publisher.Mono<Void> |
sendAsync(String eventHubName,
Collection<org.springframework.messaging.Message<T>> messages,
PartitionSupplier partitionSupplier) |
<T> reactor.core.publisher.Mono<Void> |
sendAsync(String eventHubName,
org.springframework.messaging.Message<T> message,
PartitionSupplier partitionSupplier) |
void |
setCheckpointConfig(CheckpointConfig checkpointConfig) |
void |
setMessageConverter(EventHubMessageConverter messageConverter) |
void |
setStartPosition(StartPosition startPosition) |
protected void |
startEventProcessorClient(String name,
String consumerGroup) |
protected void |
stopEventProcessorClient(String name,
String consumerGroup) |
public <T> reactor.core.publisher.Mono<Void> sendAsync(String eventHubName, @NonNull org.springframework.messaging.Message<T> message, PartitionSupplier partitionSupplier)
public <T> reactor.core.publisher.Mono<Void> sendAsync(String eventHubName, Collection<org.springframework.messaging.Message<T>> messages, PartitionSupplier partitionSupplier)
protected void createEventProcessorClient(String name, String consumerGroup, EventHubProcessor eventHubProcessor)
protected void startEventProcessorClient(String name, String consumerGroup)
public EventHubMessageConverter getMessageConverter()
public void setMessageConverter(EventHubMessageConverter messageConverter)
public StartPosition getStartPosition()
public void setStartPosition(StartPosition startPosition)
public CheckpointConfig getCheckpointConfig()
public void setCheckpointConfig(CheckpointConfig checkpointConfig)
Copyright © 2020 Microsoft. All rights reserved.