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.
A request to bulk publish multiples events in a single call to Dapr.
-
Constructor Summary
ConstructorDescriptionBulkPublishRequest
(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
-
Constructor Details
-
BulkPublishRequest
Constructor for BulkPublishRequest.- Parameters:
pubsubName
- Name of the pubsub to publish to.topic
- Name of the topic to publish to.entries
- List ofBulkPublishEntry
objects.
-
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 ofBulkPublishEntry
objects.metadata
- Metadata for the request.
-
-
Method Details
-
getPubsubName
-
getTopic
-
getMetadata
-
setMetadata
-
getEntries
-