Skip to content
This repository was archived by the owner on Dec 11, 2023. It is now read-only.
This repository was archived by the owner on Dec 11, 2023. It is now read-only.

Idea: pass an array of json events to send-event as a file #220

@jmcx

Description

@jmcx

In order to test and simulate, I'd like to pass 1000 mock events to tmctl send-event.

send-event is great here because with send-event --target I could easily use this to mock different sources in my system. For example if my main event source is a Kafka topic, I can create a KafkaTarget to write to it, and send-event to send it the mock data.

This would also play nicely in a potential future automated testing feature.

imagining syntax as something like:

tmctl send-event -f 1000_generated_mock_events.json --target my-kafka-target

Attached is an example for 1000_generated_mock_events.json generated with https://www.mockaroo.com/.

1000_generated_mock_events text.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions