Skip to content

Commit

Permalink
chore: update based on pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
denopink authored Oct 29, 2024
1 parent b8c1ba1 commit e5cae31
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,11 @@ type Webhook struct {

// Kafka is a substructure with data related to event delivery.
type Kafka struct {
// Accept is content type value to set WRP messages to (unless already specified in the WRP).
// Accept is the encoding type of outgoing events. The following encoding types are supported, otherwise
// a 406 response code is returned: application/octet-stream, application/json, application/jsonl, application/msgpack.
// Note: An `Accept` of application/octet-stream or application/json will result in a single response for batch sizes of 0 or 1
// and batch sizes greater than 1 will result in a multipart response. An `Accept` of application/jsonl or application/msgpack
// will always result in a single response with a list of batched events for any batch size.
Accept string `json:"accept"`

// BootstrapServers is a list of kafka broker addresses.
Expand Down

0 comments on commit e5cae31

Please sign in to comment.