sdk-go icon indicating copy to clipboard operation
sdk-go copied to clipboard

Go SDK for CloudEvents

Results 158 sdk-go issues
Sort by recently updated
recently updated
newest added

Need to confirm this works in the go sdk, https://github.com/cloudevents/sdk-java/issues/470

Signed-off-by: myan Adding the Kafka binding with https://github.com/confluentinc/confluent-kafka-go. This implementation will support the following features compared to the [sarama](https://github.com/IBM/sarama) binding. - The binding provides the ability to submit offset asynchronously....

Resolves #987 Earlier, we used time.Time.String() to marshal time into a string. According to the go time.Time documentation however, time.Time.String() is only suitable for debugging purposes. This PR replaces time.Time.String...

Resolves #1026 Update Connection struct to allow for customising PublishSettings the same way ReceiveSettings can be customised.

## Motivation The google pubsub client allows you to configure your receive and publish settings. via [pubsub.ReceiveSettings](https://pkg.go.dev/cloud.google.com/go/pubsub#ReceiveSettings) and [pubsub.PublishSettings](https://pkg.go.dev/cloud.google.com/go/pubsub#PublishSettings). This sdk exposes the [ReceiveSettings](https://github.com/cloudevents/sdk-go/blob/ef734d06ddf5da92fe111a399a8b4f852af83681/protocol/pubsub/v2/protocol.go#L37) in its interface via the protocol...

Bumps the go_modules group with 1 update in the /samples/http directory: [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin). Updates `github.com/gin-gonic/gin` from 1.8.2 to 1.9.1 Release notes Sourced from github.com/gin-gonic/gin's releases. v1.9.1 Changelog BUG FIXES fix Request.Context()...

dependencies
go

See #990, this adds support for encoding/decoding cloudevent data which is defined by a content-type following the [Structured Syntax Suffixes](https://www.iana.org/assignments/media-type-structured-suffix/media-type-structured-suffix.xhtml) standard. This enables the encoding/decoding of custom content types which...

Bumps the go_modules group with 1 update in the /binding/format/protobuf/v2 directory: google.golang.org/protobuf. Bumps the go_modules group with 1 update in the /protocol/pubsub/v2 directory: google.golang.org/protobuf. Bumps the go_modules group with 2...

dependencies
go

Inspired by the java sdk, adding a go implementation for `dataref` extension

In event_marshal.go, `time.String()` is currently used to marshal the time to a string: https://github.com/cloudevents/sdk-go/blob/ba92a5c9a1e2508d855930049999ccd75636f0cb/v2/event/event_marshal.go#L76-L79 However, in the go `time.Time` documentation, it says about the method `time.Time.String()`: > The returned string...