Add event hub name in send method

This commit is contained in:
Warren Zhu 2018-05-15 14:46:36 +08:00
Родитель b2bedcb92f
Коммит eda5600ef4
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -27,8 +27,8 @@ import com.microsoft.azure.eventhubs.EventData;
*/
public interface EventHubOperation {
void sendSync(EventData eventData, PartitionSupplier partitionSupplier);
void send(String eventHubName, EventData eventData, PartitionSupplier partitionSupplier);
CompletableFuture send(EventData eventData, PartitionSupplier partitionSupplier);
CompletableFuture sendAsync(String eventHubName, EventData eventData, PartitionSupplier partitionSupplier);
}