github.com/Jeffail/benthos/v3@v3.65.0/resources/docker/schema_registry/in.yaml (about)

     1  http:
     2    enabled: false
     3  
     4  input:
     5    generate:
     6      interval: 1s
     7      mapping: |
     8        root.ID = uuid_v4()
     9        root.Name = [ "frosty", "spot", "oodles" ].index(random_int() % 3)
    10        root.Gooeyness = (random_int() % 100) / 100
    11        root.Bouncing = random_int() % 2 == 0
    12  
    13  pipeline:
    14    processors:
    15      - schema_registry_encode:
    16          url: http://redpanda:8081
    17          subject: benthos_example
    18          refresh_period: 15s
    19  
    20      - catch:
    21        - log:
    22            level: ERROR
    23            message: ${! error() }
    24        - bloblang: root = deleted()
    25  
    26  output:
    27    kafka:
    28      addresses: [ redpanda:9092 ]
    29      topic: benthos_redpanda