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

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

    [ https://issues.apache.org/jira/browse/SAMZA-1501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16252150#comment-16252150 ] 

ASF GitHub Bot commented on SAMZA-1501:
---------------------------------------

GitHub user prateekm opened a pull request:

    https://github.com/apache/samza/pull/359

    SAMZA-1501: Validate operator IDs so that they don't contain special characters and spaces

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/prateekm/samza operator-id-validation

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/samza/pull/359.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #359
    
----
commit f27d4b5be08ea2a5ec7b533185acc42687e5a706
Author: Prateek Maheshwari <pm...@linkedin.com>
Date:   2017-11-14T20:42:30Z

    SAMZA-1501: Validate operator IDs so that they don't contain special characters and spaces

----


> 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)