Complete the code to add a simple transformation to the Kafka Connect chain.
transforms=AddPrefix
transforms.AddPrefix.type=[1]The RegexRouter transform is used to modify topic names in the chain.
Complete the code to configure a converter chain for JSON data.
key.converter=org.apache.kafka.connect.json.JsonConverter
value.converter=[1]Both key and value converters should be set to JsonConverter for JSON data.
Fix the error in the transform chain configuration to correctly apply a value transformation.
transforms=MaskField
transforms.MaskField.type=[1]The MaskField$Value transform masks fields in the message value, which is the intended behavior here.
Fill both blanks to configure a converter chain with Avro and a transform to route topics.
key.converter=[1] value.converter=[2]
Both key and value converters should be set to AvroConverter for Avro data format.
Fill all three blanks to create a transform chain that renames topics and masks a field in the value.
transforms=RouteTopic,MaskValue transforms.RouteTopic.type=[1] transforms.MaskValue.type=[2] transforms.MaskValue.fields=[3]
The RegexRouter transform renames topics, MaskField$Value masks fields in the value, and password is the field to mask.