Skip to content

Conversation

@belloibrahv
Copy link
Contributor

  • Add Redis client dependency to Cargo.toml
  • Extend Amazon S3 source to support Redis pub/sub for event notifications
  • Add redis_url and redis_channel configuration options
  • Implement RedisContext with async pub/sub support
  • Update change_stream to prefer Redis over SQS when both are configured
  • Add comprehensive documentation for MinIO Redis setup
  • Update Python spec to include Redis configuration fields

This enables MinIO users to receive S3-compatible event notifications without requiring AWS SQS, addressing issue #599.

- Add Redis client dependency to Cargo.toml
- Extend Amazon S3 source to support Redis pub/sub for event notifications
- Add redis_url and redis_channel configuration options
- Implement RedisContext with async pub/sub support
- Update change_stream to prefer Redis over SQS when both are configured
- Add comprehensive documentation for MinIO Redis setup
- Update Python spec to include Redis configuration fields

This enables MinIO users to receive S3-compatible event notifications
without requiring AWS SQS, addressing issue cocoindex-io#599.
@belloibrahv
Copy link
Contributor Author

@georgeh0 @badmonster0 kindly help to review the PR when you have time. Thank You

- Resolve Cargo.toml conflict by keeping Redis dependency and upstream changes
- Remove old docs/docs/ops/sources.md file (replaced by separate files)
- Add Redis documentation to docs/docs/sources/amazons3.md
- Maintain Redis functionality with upstream changes
- Remove timeout logic in Redis polling to prevent error masking
- Wrap Redis URL and channel in dedicated RedisConfig/RedisNotification structs
- Improve code organization and follow project patterns
@belloibrahv
Copy link
Contributor Author

@georgeh0 kindly help review the PR, I have implemented the required changes based on your feedbacks

@georgeh0 georgeh0 merged commit 4193dfc into cocoindex-io:main Oct 21, 2025
9 checks passed
@badmonster0
Copy link
Member

thanks for the contribution @belloibrahv !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants