You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Prateek Maheshwari (JIRA)" <ji...@apache.org> on 2017/11/14 19:56:00 UTC

[jira] [Created] (SAMZA-1501) Validate operator IDs so that they don't contain special characters and spaces

Prateek Maheshwari created SAMZA-1501:
-----------------------------------------

             Summary: Validate operator IDs so that they don't contain special characters and spaces
                 Key: SAMZA-1501
                 URL: https://issues.apache.org/jira/browse/SAMZA-1501
             Project: Samza
          Issue Type: Task
            Reporter: Prateek Maheshwari
            Assignee: Prateek Maheshwari


Since user provided operator IDs are also used as changelog stream names, we should validate that they don't contain special characters and spaces.

If Kafka is used for the changelog topic, it'll fail with an exception like the following:
{code}
2017-11-14 11:45:14.408 [main] KafkaSystemAdmin [WARN] Failed to create topic wikipedia-application-1-window-Tumbling window of WikipediaStats: org.apache.kafka.common.errors.InvalidTopicException: topic name wikipedia-application-1-window-Tumbling window of WikipediaStats is illegal, contains a character other than ASCII alphanumerics, '.', '_' and '-'. Retrying.
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)