Documentation
¶
Overview ¶
Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License.
Index ¶
Constants ¶
View Source
const ErrCondGeoReplicationOffset = amqp.ErrCond("com.microsoft:georeplication:invalid-offset")
ErrCondGeoReplicationOffset occurs when using an old integer offset against a hub that has geo-replication enabled, which requires the new stroffset format.
Variables ¶
This section is empty.
Functions ¶
func ConvertToInt64 ¶
ConvertToInt64 converts any int-like value to be an int64.
func IsGeoReplicationOffsetError ¶
IsGeoReplicationOffsetError checks if we've received a "bad offset" error from Event Hubs. This should only happpen if:
a. You're working with an Event Hub namespace that has geo-replication enabled... b. ...and pass in an older style offset rather than the newer "stroffset" style (contains broker and partition information).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.