Merged
Conversation
Introduces Kafka and Kafka UI services via docker-compose for event-driven communication. The order service now publishes `OrderPaid` events to Kafka after successful payment. This includes a new generic Kafka consumer and producer framework in `platform/pkg/kafka`, along with necessary configuration updates and environment variables for Kafka.
The new `assembly` service consumes `order.paid` events, simulates an assembly process, and then produces `order.assembled` events. The `order` service now includes an `ASSEMBLED` status and a repository method to update an order's status. Its consumer, upon processing an `order.paid` event, now updates the order's status to `ASSEMBLED` in the database. Additionally, the `order` service's Kafka topic configurations were adjusted for consistency, and the consumer now correctly references its own topic. Environment configurations have been updated to include settings for the new `assembly` service and to align Kafka topic names across services.
Implements a new notification microservice responsible for sending user notifications. - Consumes `order.paid` and `order.assembled` Kafka events. - Sends Telegram notifications for order status updates. - Includes new configuration files and environment variables for deployment. - Integrates Telegram bot and Kafka consumer services.
Reordered imports for consistency across all services and removed trailing newlines. Consolidated Kafka consumer configuration logic in the `notification` service by introducing a generic `kafkaConsumerConfig` and specific constructors. Applied minor formatting and whitespace adjustments throughout the codebase.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.