Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • DropHeaders: Drop one or multiple headers.
  • Filter: Drops the whole message based on a predicate.
  • InsertHeader: Insert a specific message to the header.
  • RegexRouter: Acts on the topic name.
  • SetSchemaMetadata: Acts on root schema.
  • TimestampRouter: Acts on timestamp.
  • Flatten: Acts on the whole key or message. 

Public Interfaces

From the existing list of the SMTs, there are the following to be impacted by this change:

New configuration flags

NameTypeDefaultImportanceDocumentation
field.syntax.version STRING v1HIGH 

Permitted values: v1 , v2 . Defines the version of the syntax to access fields. If set to "v1", then the field paths are limited to access the elements at the root level of the struct or map. If set to "v2", the syntax will support accessing nested elements. o access nested elements, dotted notation is used. If dots are already included in the field name, then dots themselves backtick pairs can be used to represent dots part of the field namewrap field names containing dots. e.g. to access elements from a struct/map named "samefoo.fieldbar", the following format can be used to access its elements: "same`foo.bar`.field.elementbaz".

This configuration will affect all the field paths used by the transform.

These flags This flag will be added conditionally to some SMTs, as described below.

...