Helper type to get the types of all the functions on an object.
Helper type to get the names of all the functions on an object.
Signature of the user provided function invoked by EventHubConsumerClient
just after stopping to receive
events from a partition.
Signature of the user provided function invoked by EventHubConsumerClient
for errors that occur when
receiving events or when executing any of the user provided functions passed to the subscribe()
method.
Signature of the user provided function invoked by EventHubConsumerClient
when a set of events is received.
Signature of the user provided function invoked by EventHubConsumerClient
just before starting to receive
events from a partition.
The amount of bytes to reserve as overhead for a large message.
The @azure/logger configuration for this package.
This will output logs using the azure:event-hubs
namespace prefix.
The maximum number of bytes that a message may be to be considered small.
The amount of bytes to reserve as overhead for a small message.
Describes the connection config object that is created after parsing an EventHub connection string. It also provides some convenience methods for getting the address and audience for different entities.
Creates the connection config.
The connection string for a given service like EventHub/ServiceBus.
EventHubConnectionConfig
Creates an EventHubConnectionConfig from the provided base ConnectionConfig.
The base connection config from which the EventHubConnectionConfig needs to be created.
EventHubConnectionConfig
Validates the properties of connection config.
The connection config to be validated.
void
The default data transformer that will be used by the Azure SDK.
The AMQP message body
decoded body or the given body as-is.
A function that takes the body property from an EventData object and returns an encoded body (some form of AMQP type).
The AMQP message body
encodedBody - The encoded AMQP message body as an AMQP Data type (data section in rhea terms). Section object with following properties:
Gets the EventPosition
corresponding to the location of the the first event present in the partition.
Pass this position to the EventHubConsumerClient.subscribe()
method to begin receiving events from the
first event in the partition which has not expired due to the retention policy.
Gets the EventPosition
corresponding to the end of the partition.
Pass this position to the EventHubConsumerClient.subscribe()
method to begin receiving events from the
event that is enqueued right after the method call.
Generated using TypeDoc
Helper type to get the types of all the functions on ConnectionContext and the internal methods from ConnectionContextInternalMembers. Note that this excludes the functions that ConnectionContext inherits. Each function also has its
this
type set asConnectionContext
.