[
https://issues.apache.org/jira/browse/SAMZA-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940416#comment-13940416
]
Martin Kleppmann commented on SAMZA-194:
----------------------------------------
Semicolons and hashes could still appear in URIs, albeit less commonly. Rather
than using an ad-hoc encoding scheme like this, could we simply use JSON to
encode the stream partitions? Then we can let the JSON serializer and parser
worry about escaping. The config is already serialized to JSON, so that seems
like a more natural solution to me.
> createStreamPartitionString should not use characters that overlap with uris
> ----------------------------------------------------------------------------
>
> Key: SAMZA-194
> URL: https://issues.apache.org/jira/browse/SAMZA-194
> Project: Samza
> Issue Type: Improvement
> Reporter: Jakob Homan
> Assignee: Jakob Homan
> Attachments: SAMZA-194.patch
>
>
> Right now when we build the partition string for the container we use colons
> and slashes to delimit. This clashes with URIs, meaning we can't encode URIs
> a streams. Instead of : and / we should use ; and #, for example,
> respectively.
--
This message was sent by Atlassian JIRA
(v6.2#6252)