-
Notifications
You must be signed in to change notification settings - Fork 0
Implement data stream generator with CLI tool for performance testing and real-world data patterns #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: clickstefan <5954967+clickstefan@users.noreply.github.com>
Co-authored-by: clickstefan <5954967+clickstefan@users.noreply.github.com>
Co-authored-by: clickstefan <5954967+clickstefan@users.noreply.github.com>
|
@copilot would like the cli for the generator to be able to output to stdout csv, jsonl or stream of protobufs. Make sure the generator covers as many live world examples of what type of documents might be found in dbs / kafka topics / logs etc. |
…rld patterns Co-authored-by: clickstefan <5954967+clickstefan@users.noreply.github.com>
I've implemented a comprehensive CLI data generator that addresses all your requirements: ✅ Multiple Output Formats to stdout:
✅ Sensible Delimiters:
✅ Real-World Data Patterns:
Usage Examples: # Pipe CSV to file or tools
./bin/stream-generator -format csv -count 1000 -header > data.csv
# Stream JSONL to Kafka
./bin/stream-generator -format jsonl -rate 100 -count 5000 | kafka-console-producer.sh
# Generate with real-world schemas
./bin/stream-generator -schema examples/schemas/kafka_events.yaml -format jsonl -rate 1000Build & Run: make build
./bin/stream-generator --helpThe tool includes 5 comprehensive real-world schemas (e-commerce, financial, IoT, logs, Kafka events) and a full Makefile with demo commands. All output streams properly to stdout with sensible defaults for easy piping to CLI tools. Commit: 9296da0 |
Co-authored-by: clickstefan <5954967+clickstefan@users.noreply.github.com>
|
@copilot fix build |
Co-authored-by: clickstefan <5954967+clickstefan@users.noreply.github.com>
Fixed the build issues. The problem was multiple main functions in the examples directory causing Go build conflicts. I've restructured the examples into separate subdirectories and corrected test file paths. All tests now pass and the CLI tool builds successfully. Commit: 942b828 |
|
Finish what you started, check why previous agent failed. Make sure all workflows are successful. |
|
@copilot Finish what you started, check why previous agent failed. Make sure all workflows are successful. |
…pdating GitHub Actions Co-authored-by: clickstefan <5954967+clickstefan@users.noreply.github.com>
I identified and fixed the workflow failure. The issue was an invalid Go version (1.25) in both go.mod and the GitHub Actions workflow - Go 1.25 doesn't exist yet. I've corrected it to Go 1.23, updated the GitHub Actions to use the latest versions, and verified everything builds and tests successfully. The workflow should now pass. Commit: d86111f
I identified and fixed the workflow failure. The issue was an invalid Go version (1.25) in both go.mod and the GitHub Actions workflow - Go 1.25 doesn't exist yet. I've corrected it to Go 1.23, updated the GitHub Actions to use the latest versions, and verified everything builds and tests successfully. The workflow should now pass. Commit: d86111f |
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.