Skip to content

Conversation

douglaswth
Copy link
Member

  • Fix streaming.NewStream and streaming.NewSink to error instead of panicking when an invalid regexp is passed in through options.WithReaderTopicPattern or options.WithSinkTopicPattern.
  • Move usage of regexp.MustParse in testing.CleanupRedis to a global.

- Fix `streaming.NewStream` and `streaming.NewSink` to error instead of
  panicking when an invalid regexp is passed in through
  `options.WithReaderTopicPattern` or `options.WithSinkTopicPattern`.
- Move usage of `regexp.MustParse` in `testing.CleanupRedis` to a
  global.
@douglaswth douglaswth requested a review from raphael March 7, 2025 00:15
@raphael
Copy link
Member

raphael commented Mar 17, 2025

Thank you!

@raphael raphael merged commit f5494e1 into main Mar 17, 2025
4 checks passed
@raphael raphael deleted the fix-potential-regexp-panics branch March 17, 2025 20:55
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