Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffail committed Aug 28, 2021
1 parent fec8251 commit 239b37c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 41 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ All notable changes to this project will be documented in this file.

- The `mqtt` input and output now support sending a last will, configuring a keep alive timeout, and setting retained out output messages.
- Go API: New stream builder `AddBatchProducerFunc` and `AddBatchConsumerFunc` methods.
- Field `gzip_compression` added to the `elasticsearch` output.
- The `redis_streams` input now supports creating the stream with the `MKSTREAM` command (enabled by default).
- The `kafka` output now supports manual partition allocation using interpolation functions in the field `partition`.

### Fixed

Expand Down
1 change: 0 additions & 1 deletion lib/input/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ input:
url: tcp:https://localhost:6379
streams:
- benthos_stream
create_streams: false
body_key: body
consumer_group: benthos_group
Expand Down
2 changes: 1 addition & 1 deletion lib/output/elasticsearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ false for connections to succeed.`,
docs.FieldCommon("enabled", "Whether to connect to Amazon Elastic Service."),
}.Merge(sess.FieldSpecs())...,
),
docs.FieldAdvanced("gzip_compression", "Whether to enable gzip compression on the request side"),
docs.FieldAdvanced("gzip_compression", "Enable gzip compression on the request side."),
),
Categories: []Category{
CategoryServices,
Expand Down
2 changes: 1 addition & 1 deletion lib/output/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ However, this also means that manual intervention will eventually be required in
docs.FieldCommon("client_id", "An identifier for the client connection."),
docs.FieldCommon("key", "The key to publish messages with.").IsInterpolated(),
docs.FieldCommon("partitioner", "The partitioning algorithm to use.").HasOptions("fnv1a_hash", "murmur2_hash", "random", "round_robin", "manual"),
docs.FieldCommon("partition", "The manually-specified partition to publish messages to. Must be able to parse as a 32-bit integer.").IsInterpolated(),
docs.FieldAdvanced("partition", "The manually-specified partition to publish messages to, relevant only when the field `partitioner` is set to `manual`. Must be able to parse as a 32-bit integer.").IsInterpolated(),
docs.FieldCommon("compression", "The compression algorithm to use.").HasOptions("none", "snappy", "lz4", "gzip"),
docs.FieldString("static_headers", "An optional map of static headers that should be added to messages in addition to metadata.", map[string]string{"first-static-header": "value-1", "second-static-header": "value-2"}).Map(),
docs.FieldCommon("metadata", "Specify criteria for which metadata values are sent with messages as headers.").WithChildren(output.MetadataFields()...),
Expand Down
35 changes: 0 additions & 35 deletions lib/output/writer/tests/kafka_test.go

This file was deleted.

2 changes: 1 addition & 1 deletion website/docs/components/outputs/elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ Default: `""`

### `gzip_compression`

Whether to enable gzip compression on the request side
Enable gzip compression on the request side.


Type: `bool`
Expand Down
3 changes: 1 addition & 2 deletions website/docs/components/outputs/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ output:
client_id: benthos_kafka_output
key: ""
partitioner: fnv1a_hash
partition: ""
compression: none
static_headers: {}
metadata:
Expand Down Expand Up @@ -381,7 +380,7 @@ Options: `fnv1a_hash`, `murmur2_hash`, `random`, `round_robin`, `manual`.

### `partition`

The manually-specified partition to publish messages to. Must be able to parse as a 32-bit integer.
The manually-specified partition to publish messages to, relevant only when the field `partitioner` is set to `manual`. Must be able to parse as a 32-bit integer.
This field supports [interpolation functions](/docs/configuration/interpolation#bloblang-queries).


Expand Down

0 comments on commit 239b37c

Please sign in to comment.