Skip to content

Commit

Permalink
Add version markers for new stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffail committed Oct 20, 2021
1 parent 6d48246 commit e223008
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion internal/impl/confluent/schema_registry_encode.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ Currently only Avro schemas are supported.`).
Field(service.NewInterpolatedStringField("subject").Description("The schema subject to derive schemas from.").
Example("foo").
Example(`${! meta("kafka_topic") }`)).
Field(service.NewTLSField("tls"))
Field(service.NewTLSField("tls")).
Version("3.58.0")
}

func init() {
Expand Down
2 changes: 1 addition & 1 deletion lib/input/aws_sqs.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ You can access these metadata fields using
FieldSpecs: append(docs.FieldSpecs{
docs.FieldCommon("url", "The SQS URL to consume from."),
docs.FieldAdvanced("delete_message", "Whether to delete the consumed message once it is acked. Disabling allows you to handle the deletion using a different mechanism."),
docs.FieldAdvanced("reset_visibility", "Whether to set the visibility timeout of the consumed message to zero once it is nacked. Disabling honors the preset visibility timeout specified for the queue."),
docs.FieldAdvanced("reset_visibility", "Whether to set the visibility timeout of the consumed message to zero once it is nacked. Disabling honors the preset visibility timeout specified for the queue.").AtVersion("3.58.0"),
}, sess.FieldSpecs()...),
Categories: []Category{
CategoryServices,
Expand Down
1 change: 1 addition & 0 deletions website/docs/components/inputs/aws_sqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ Whether to set the visibility timeout of the consumed message to zero once it is

Type: `bool`
Default: `true`
Requires version 3.58.0 or newer

### `region`

Expand Down
2 changes: 2 additions & 0 deletions website/docs/components/processors/schema_registry_encode.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ This component is experimental and therefore subject to change or removal outsid
:::
Automatically encodes and validates messages with schemas from a Confluent Schema Registry service.

Introduced in version 3.58.0.


<Tabs defaultValue="common" values={[
{ label: 'Common', value: 'common', },
Expand Down

0 comments on commit e223008

Please sign in to comment.