Skip to content

Conversation

@vaibhavtiwari33
Copy link
Contributor

@vaibhavtiwari33 vaibhavtiwari33 commented Dec 6, 2025

This implementation is based upon the existing go-lang implementation.

In on-success sink implementation, a check was added to ensure min SDK version supporting on-success sink. For Rust SDK, this is v0.4.0

With the release of v0.4.0 for Rust SDK, we can now create a UD sink which can be utilized for on-success sink e2e test

@vaibhavtiwari33 vaibhavtiwari33 marked this pull request as ready for review December 6, 2025 22:04
@vaibhavtiwari33 vaibhavtiwari33 changed the title test: Implement redis sink in rust for e2e test test: Implement redis sink in rust for on-success sink e2e test Dec 6, 2025
@vaibhavtiwari33 vaibhavtiwari33 self-assigned this Dec 6, 2025
@vaibhavtiwari33 vaibhavtiwari33 changed the title test: Implement redis sink in rust for on-success sink e2e test test: Implement redis sink in Rust for on-success sink e2e test Dec 6, 2025
Copy link
Member

@vigith vigith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a simple redis sink, can you please document why it is implemented like this? This will help users when they browse the example and think why is this implemented in a different way :)

struct RedisTestSink {
hash_key: String,
message_count: usize,
inflight_messages: Arc<Mutex<Vec<SinkRequest>>>,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll be honest I just gave cursor the golang implementation, and it spit this out.
Let me modify this to a proper implementation

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤣

Signed-off-by: Vaibhav Tiwari <[email protected]>
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.

3 participants