Package io.dapr.client.domain
Class BulkPublishRequest<T>
- java.lang.Object
-
- io.dapr.client.domain.BulkPublishRequest<T>
-
- Type Parameters:
T- Type parameter of the event.
public final class BulkPublishRequest<T> extends Object
A request to bulk publish multiples events in a single call to Dapr.
-
-
Constructor Summary
Constructors Constructor Description BulkPublishRequest(String pubsubName, String topic, List<BulkPublishEntry<T>> entries)Constructor for BulkPublishRequest.BulkPublishRequest(String pubsubName, String topic, List<BulkPublishEntry<T>> entries, Map<String,String> metadata)Constructor for the BulkPublishRequest.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BulkPublishEntry<T>>getEntries()Map<String,String>getMetadata()StringgetPubsubName()StringgetTopic()BulkPublishRequest<T>setMetadata(Map<String,String> metadata)
-
-
-
Constructor Detail
-
BulkPublishRequest
public BulkPublishRequest(String pubsubName, String topic, List<BulkPublishEntry<T>> entries)
Constructor for BulkPublishRequest.- Parameters:
pubsubName- Name of the pubsub to publish to.topic- Name of the topic to publish to.entries- List ofBulkPublishEntryobjects.
-
BulkPublishRequest
public BulkPublishRequest(String pubsubName, String topic, List<BulkPublishEntry<T>> entries, Map<String,String> metadata)
Constructor for the BulkPublishRequest.- Parameters:
pubsubName- Name of the pubsub to publish to.topic- Name of the topic to publish to.entries- List ofBulkPublishEntryobjects.metadata- Metadata for the request.
-
-