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

   ## Which issue does this PR address?
   
   Closes #4696
   
   ## Rationale
   
   Python examples lacked a demonstration of the message envelope pattern, 
which is already present in Rust, Node, Java, and C# examples.
   
   ## What changed?
   
   Added `examples/python/message-envelope/producer.py` and `consumer.py` 
implementing the message envelope pattern with JSON serialization 
(`message_type` and `payload`) for Order domain events (`OrderCreated`, 
`OrderConfirmed`, `OrderRejected`). Added a "Message Envelopes" section to 
`examples/python/README.md` documenting execution via `uv run` and standard 
python.
   
   ## Local Execution
   
   - Passed
   - Linters and type checks verified: `ruff check .`, `ruff format --check .`, 
and `pyrefly check .` all passed with 0 errors.
   
   ## AI Usage
   
   None


-- 
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