-
Notifications
You must be signed in to change notification settings - Fork 1
Support MQ #81
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
Merged
Merged
Support MQ #81
Conversation
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
- Add Kafka support with new package and providers for SyncProducer, AsyncProducer, and Consumer - Add RocketMQ support with new package and necessary dependencies - Include unit tests for Kafka configuration and provider functions
…ndpoint to 8080 - Update API endpoint from http://localhost:9090 to http://localhost:8080 - Update Prometheus example instructions to use new endpoint
- Add LoadConsumerGroup function for loading sarama.ConsumerGroup - Implement ProvideConsumerGroup function for creating sarama.ConsumerGroup- Update gone-io/gone dependency to v2.2.2 - Remove gone-io/gone/mock/v2 dependency - Add test case for sending and receiving messages with consumer group
- Add Kafka setup step in GitHub Actions workflow - Refactor Kafka consumer handler for better message processing - Update test configuration to use localhost and add consumer settings - Improve test logic for sending and receiving messages
- Change 'localhost:9092' to '127.0.0.1:9092' in the Kafka provider test - This modification aims to ensure consistent test behavior across different environments
…eners - Change KAFKA_CFG_ADVERTISED_LISTENERS from localhost to 127.0.0.1 - This modification ensures consistent network configuration for Kafka
- Add kafka network to broker service - Create a bridge network named 'kafka'
- Remove unused comments for Etcd service - Reorder steps to group similar actions together - Move Kafka setup to a separate step before Consul
- Add Kafka service configuration directly in the workflow file - Remove separate docker-compose file for Kafka - Update Kafka container settings for better integration with the CI environment
- Remove unused imports from kafka/go.mod - Update golang.org/x/sync to v0.7.0 in rocket/go.mod - Remove unused imports from rocket/go.mod
- Add rocketmq consumer and producer implementation - Include unit tests for consumer and producer - Set up docker-compose for rocketmq testing environment - Update code coverage configuration to exclude examples
- Update rocketmq-clients/golang to v5.1.2 - Add testify and mock for testing - Update other dependencies to latest versions
- Add Kafka integration in goner/mq/kafka - Add RocketMQ integration in goner/mq/rocket - Update README and README_CN to include new message queue components
This commit introduces MQTT integration for the Gone framework, including client management, configuration, and testing. The integration supports multiple MQTT client instances, automatic connection handling, and comprehensive testing with mock and integration tests. The changes include new files for client management, configuration, and testing, along with README documentation for usage and setup.
…upport Introduce RabbitMQ integration package with support for producers and consumers. Includes configuration management, connection handling, and message publishing/consuming functionality. Added integration tests, documentation, and CI/CD updates to support RabbitMQ service in workflows.
- Add language switch links in RabbitMQ README files - Include RabbitMQ and MQTT integration in README_CN.md and README.md - Improve wording and formatting in RabbitMQ README.md
Codecov ReportAttention: Patch coverage is
🚀 New features to boost your workflow:
|
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.
#76
#59