proxy.golang.org : github.com/Azure/azure-sdk-for-go/sdk/messaging/azeventhubs : v1.2.1
Shows how to start consuming events in partitions in an Event Hub using the ConsumerClient. If you have an Azure Storage account you can use the Processor type instead, which will handle distributing partitions between multiple consumers and storing progress using checkpoints. See example_consuming_with_checkpoints_test.go for an example. Shows how to use the Processor type, using a ConsumerClient and CheckpointStore. The Processor type acts as a load balancer, ensuring that partitions are divided up evenly amongst active Processor instances. It also allows storing (and restoring) checkpoints of progress. NOTE: If you want to manually allocate partitions or to have more control over the process you can use the ConsumerClient. See example_consuming_events_test.go for an example. Shows how to migrate from the older `github.com/Azure/azure-event-hubs-go` checkpointer to to the format used by this package, `github.com/Azure/azure-sdk-for-go/sdk/messaging/azeventhubs/checkpoints/BlobStore` NOTE: This example is not safe to run while either the old or new checkpoint store is in-use as it doesn't respect locking or ownership. Shows how to send events to an Event Hub partition using the ProducerClient and EventDataBatch.
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/%21azure/azure-sdk-for-go/sdk/messaging/[email protected]
Published:
Indexed:
- code.cloudfoundry.org/clock v1.1.0
- github.com/Azure/azure-sdk-for-go/sdk/azcore v1.11.1
- github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.5.2
- github.com/Azure/azure-sdk-for-go/sdk/internal v1.7.0
- github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/eventhub/armeventhub v1.2.0
- github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.3.2
- github.com/Azure/go-amqp v1.0.5
- github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2
- github.com/davecgh/go-spew v1.1.1
- github.com/gofrs/uuid v4.4.0+incompatible
- github.com/golang-jwt/jwt/v5 v5.2.1
- github.com/golang/mock v1.6.0
- github.com/google/uuid v1.6.0
- github.com/joho/godotenv v1.5.1
- github.com/kylelemons/godebug v1.1.0
- github.com/microsoft/ApplicationInsights-Go v0.4.4
- github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
- github.com/pmezard/go-difflib v1.0.0
- github.com/stretchr/testify v1.9.0
- golang.org/x/crypto v0.22.0
- golang.org/x/net v0.24.0
- golang.org/x/sys v0.19.0
- golang.org/x/text v0.14.0
- gopkg.in/yaml.v3 v3.0.1
- nhooyr.io/websocket v1.8.11