You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.asciidoc
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,8 @@ The following metadata from Kafka broker are added under the `[@metadata]` field
61
61
* `[@metadata][kafka][key]`: Record key, if any.
62
62
* `[@metadata][kafka][timestamp]`: Timestamp in the Record. Depending on your broker configuration, this can be either when the record was created (default) or when it was received by the broker. See more about property log.message.timestamp.type at https://kafka.apache.org/10/documentation.html#brokerconfigs
63
63
64
+
Metadata is only added to the event if the `decorate_events` option is set to true (it defaults to false).
65
+
64
66
Please note that `@metadata` fields are not part of any of your events at output time. If you need these information to be
65
67
inserted into your original event, you'll have to use the `mutate` filter to manually copy the required fields into your `event`.
0 commit comments