Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Topic title validator / error checker? #2095

Closed
amkearns-usgs opened this issue Jul 30, 2020 · 4 comments · Fixed by #2561
Closed

Topic title validator / error checker? #2095

amkearns-usgs opened this issue Jul 30, 2020 · 4 comments · Fixed by #2561

Comments

@amkearns-usgs
Copy link

I had been spending a while debugging issues on a small script causing metadata timeout errors when I discovered that the issue was the result of a leading whitespace character in the topic title. While I was able to (eventually) diagnose and fix the problem, the appearance of the error being server-side led us to believe the problem was one related to permissions and not due to a malformed topic title.

This is a feature request to include a validator for title characters. I can make a method to do this myself if necessary -- I'd just like for cases where the topic title is bad to have an obvious error message for debugging circumstances like these.

@jeffwidman
Copy link
Contributor

Does the Java client do any validation like this? It certainly sounds like it'd be useful...

@mmenbawy
Copy link
Contributor

mmenbawy commented Nov 1, 2020

@dpkp @jeffwidman Are you willing to add this feature? Should someone work on it?

@dpkp
Copy link
Owner

dpkp commented Mar 22, 2025

We do validate topic names in consumer, but not in producer. Should be easy enough to add to producer.

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 a pull request may close this issue.

4 participants