himanchalkaushale opened a new pull request, #4709:
URL: https://github.com/apache/iggy/pull/4709

   ## Summary
   
   Added a Python sink data producer example under 
`examples/python/sink-data-producer/`.
   
   The producer:
   - Uses `IGGY_STREAM` and `IGGY_TOPIC` environment variables, defaulting to 
`qw` and `records`.
   - Creates the stream and topic if they don't exist.
   - Generates JSON records following the same structure as the Rust example.
   - Sends records using the Python Iggy client.
   - Leaves the stream and topic intact after execution, just like the Rust 
implementation.
   
   Also added a section to `examples/python/README.md` explaining how to 
configure and run the example.
   
   ## Testing
   
   - Validated Python syntax using `ast.parse`.
   - Reviewed the producer implementation against the existing Python examples 
and Rust reference.
   - Checked the JSON record fields and data types for consistency with the 
Rust implementation.
   - Verified the stream and topic configuration and producer setup against the 
Python SDK type stubs.
   - Reviewed the changes for consistency with the repository's coding 
conventions.
   
   ## AI Usage
   
   AI was used to assist with repository exploration, implementation, and 
documentation.
   
   - **Development assistance:** Helped review existing examples and implement 
the producer following repository conventions.
   - **Verification:** Cross-checked the implementation against the Rust 
reference and existing Python SDK examples.
   
   I reviewed the changes and can explain the implementation and its design 
decisions.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to