Skip to content

Add preliminary TLS support - needs fleshing out#111

Draft
Joannis wants to merge 1 commit into
mainfrom
jo/preliminary-tls-support
Draft

Add preliminary TLS support - needs fleshing out#111
Joannis wants to merge 1 commit into
mainfrom
jo/preliminary-tls-support

Conversation

@Joannis

@Joannis Joannis commented Oct 14, 2024

Copy link
Copy Markdown
Member

No description provided.

@AndrewBarba

AndrewBarba commented Dec 5, 2024

Copy link
Copy Markdown

@Joannis Looking forward to this. It's required to connect to Elasticache Serverless clusters. Can we also add TLSConfiguration into the Configuration init?

And worth noting I tested this branch as is and it works correctly on Elasticache

else { throw ValidationError.missingURLScheme }

guard scheme == "redis" else { throw ValidationError.invalidURLScheme }
guard scheme == "redis" || scheme == "rediss" else { throw ValidationError.invalidURLScheme }

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can we also add valkey scheme?

@Joannis Joannis Dec 8, 2024

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Where can I read more about valkey being a scheme?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Is it completely compatible with redis?

else { throw ValidationError.missingURLScheme }

guard scheme == "redis" else { throw ValidationError.invalidURLScheme }
guard scheme == "redis" || scheme == "rediss" else { throw ValidationError.invalidURLScheme }

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Suggested change
guard scheme == "redis" || scheme == "rediss" else { throw ValidationError.invalidURLScheme }
guard scheme == "redis" || scheme == "rediss" || scheme == "valkey" else { throw ValidationError.invalidURLScheme }

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.

2 participants