Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-1118

Deprecate the SystemStream configurations in favor of StreamId

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.13.0
    • 0.15.0
    • None
    • None

    Description

      SAMZA-1096 introduced a new config namespace to set properties on a stream:
      streams.

      {streamId}

      .X
      which is meant to replace the legacy way to set stream properties:
      systems.

      {systemName}

      .streams.

      {streamName}

      .X

      In the past, streamName was used as both:
      1. a logical identifier in samza. e.g. to look up stream properties in the config
      2. a physical identifier in the System e.g. as the topic name for Kafka

      StreamId and physicalName represent the separation of those two roles and provide the following benefits:

      1. StreamId is now a single unique identifier for a stream. A streams ID is no longer coupled to a System, so it's more portable and less verbose.
      2. A streamID does not allow special characters so we can guarantee config parsing, etc. Whereas physicalName does, and that enables physical identifiers that have special characters like an HDFS file URN

      This task is to deprecate and remove the old configs from documentation. It also involves switching all the code to use streamId to identify a stream, rather than SystemStream, so not trivial.

      Attachments

        Issue Links

          Activity

            People

              jmakes Jake Maes
              jmakes Jake Maes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: