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 Details

    • 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 of BulkPublishEntry 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 of BulkPublishEntry objects.
      metadata - Metadata for the request.
  • Method Details