Development Guide
Welcome to the Redis Message Queue Backend development guide! This section provides comprehensive information for developers who want to contribute to the Redis backend implementation.
Getting Started
If you're new to contributing, we recommend starting with these sections:
- Requirements - Development environment prerequisites
- Development Workflow - How to set up and contribute to the project
- Coding Style and Rules - Coding conventions used in the project
Project Structure
The Redis backend implementation follows this structure:
slack_mcp_plugin/
└── backends/
└── queue/
├── __init__.py
└── redis.py # Redis backend implementation
test/
├── unit_test/
│ └── test_redis_backend.py
└── integration_test/
└── test_redis_integration.py
Key Components
- RedisMessageQueueBackend: Main implementation class using Redis Streams
- Environment Configuration: Redis connection and configuration management
- Consumer Groups: Distributed message processing support
- Stream Management: Automatic stream discovery and cleanup
CI/CD
The project uses GitHub Actions for:
- Automated testing across Python 3.12 and 3.13
- Code quality checks (black, pylint, mypy)
- Integration tests with Redis
- Automated PyPI publishing
Learn more: CI/CD Workflows
Contributing
We welcome contributions! Before submitting code, please:
- Read the Contributing Guide
- Set up your development environment following Requirements
- Follow the Coding Style guidelines
- Write tests for new features
- Ensure all tests pass before submitting a PR