Tabnine Logo
EventHubClient.createBatch
Code IndexAdd Tabnine to your IDE (free)

How to use
createBatch
method
in
com.microsoft.azure.eventhubs.EventHubClient

Best Java code snippets using com.microsoft.azure.eventhubs.EventHubClient.createBatch (Showing top 1 results out of 315)

origin: Azure/azure-event-hubs-java

/**
 * Creates an Empty Collection of {@link EventData}.
 * The same partitionKey must be used while sending these events using {@link EventHubClient#send(EventDataBatch)}.
 *
 * @return the empty {@link EventDataBatch}, after negotiating maximum message size with EventHubs service
 * @throws EventHubException if the Microsoft Azure Event Hubs service encountered problems during the operation.
 */
default EventDataBatch createBatch() throws EventHubException {
  return this.createBatch(new BatchOptions());
}
com.microsoft.azure.eventhubsEventHubClientcreateBatch

Javadoc

Creates an Empty Collection of EventData. The same partitionKey must be used while sending these events using EventHubClient#send(EventDataBatch).

Popular methods of EventHubClient

  • createSync
  • createPartitionSenderSync
  • send
  • close
  • closeSync
  • sendSync
    Synchronous version of #send(Iterable,String).
  • createReceiver
  • getRuntimeInformation
    Retrieves general information about an event hub (see EventHubRuntimeInformation for details). Retri
  • create
    Factory method to create an instance of EventHubClient using the supplied connectionString. In a nor
  • createEpochReceiver
    Create a Epoch based EventHub receiver with given partition id and start receiving from the beginnin
  • createReceiverSync
    Synchronous version of #createReceiver(String,String,EventPosition).
  • getPartitionRuntimeInformation
    Retrieves dynamic information about a partition of an event hub (see PartitionRuntimeInformation for
  • createReceiverSync,
  • getPartitionRuntimeInformation,
  • createEpochReceiverSync,
  • createFromConnectionString,
  • createFromConnectionStringSync,
  • createPartitionSender

Popular in Java

  • Finding current android device location
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setScale (BigDecimal)
  • setRequestProperty (URLConnection)
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Reference (javax.naming)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now