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() |
CheckpointConfig |
getCheckpointConfig() |
EventHubMessageConverter |
getMessageConverter() |
StartPosition |
getStartPosition() |
protected void |
register(String name,
String consumerGroup,
EventHubProcessor eventProcessor) |
<T> CompletableFuture<Void> |
sendAsync(String eventHubName,
Collection<org.springframework.messaging.Message<T>> messages,
PartitionSupplier partitionSupplier) |
<T> CompletableFuture<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 |
unregister(String name,
String consumerGroup) |
public <T> CompletableFuture<Void> sendAsync(String eventHubName, @NonNull org.springframework.messaging.Message<T> message, PartitionSupplier partitionSupplier)
public <T> CompletableFuture<Void> sendAsync(String eventHubName, Collection<org.springframework.messaging.Message<T>> messages, PartitionSupplier partitionSupplier)
protected void register(String name, String consumerGroup, EventHubProcessor eventProcessor)
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 © 2019 Pivotal Software, Inc.. All rights reserved.