Skip to content
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

Feature/create transaction module v1 #1

Merged
merged 5 commits into from
Oct 9, 2024

Conversation

sebastiansj70
Copy link
Owner

Feature: Transaction Module Integration with Kafka

  • Implemented message production for transactions: When a transaction is created, a message is sent to the Kafka topic with the transaction details in "pending" status.

  • Implemented Kafka consumer: The system listens to the Kafka topic to process incoming messages, updating the transaction status in the database based on the messages received.

  • Automatically creates Kafka topics if they do not exist, ensuring smooth operation even during startup.

  • Refactored transaction logic to map the internal transaction model to the message structure sent to Kafka.

  • Added tests for the transaction processing, ensuring error handling and correct behavior when processing invalid data.

  • This PR includes both producing and consuming messages from specific Kafka topics related to transactions and adds robust error handling and logging.

@sebastiansj70 sebastiansj70 merged commit 8953bb8 into main Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant