Skip to content

Commit

Permalink
Update generate-profiles.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeSCahill authored Feb 19, 2025
1 parent de15ef8 commit 4cd68e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/docker-compose/generate-profiles.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
input:
# Use the 'generate' input
# https://docs.redpanda.com/redpanda-connect/components/inputs/generate/
generate:
# The interval at which new records are generated.
interval: 1s
# The mapping section defines how each generated record is structured.
# The language used here is called Bloblang.
# https://docs.redpanda.com/redpanda-connect/guides/bloblang/about/
mapping: |
# Generate a fake first name using the 'first_name' faker function.
let first_name = fake("first_name")
Expand Down Expand Up @@ -55,6 +59,8 @@ pipeline:
# Assign the entire record (root) to be sent to the specified topic.
root = this
output:
# Use the 'kafka_franz' output to send the result back to Redpanda
# https://docs.redpanda.com/redpanda-connect/components/outputs/kafka_franz/
kafka_franz:
# Define the list of seed brokers for the Kafka cluster.
seed_brokers: [ "localhost:19092", "localhost:29092", "localhost:39092"]
Expand Down

0 comments on commit 4cd68e3

Please sign in to comment.