Important mapping rules

These rules are important when creating or updating mappings:

  1. Exactly one of sourceField or valueTransformationRule must be provided.
    • If both are empty, validation fails.
    • If both are provided, validation also fails.
  1. sourceField should contain the Kafka feed message JSON field path.

    Examples: input kafka message: { "name": "Alice", "address": {"city": "Wonderland"}, "event": {"amount": 100, "eventTime": "2024-01-01 12:00:00"} } then sourceField will

    • $.name
    • $.address.city
    • $.event.amount
  2. sourceDataFormat should be used only for date/time parsing.

    Typical example: yyyy-MM-dd HH:mm:ss

  3. valueTransformationRule is for derived values.

    Example: amount+10

    Here, amount refers to an already available mapped target attribute name.

  4. If isRecordTimestamp=true, targetAttributeType must be DateTime.