private MapConfig getAllStreamProperties(String streamId) {
    Config allProperties = subset(String.format(STREAM_ID_PREFIX, streamId));
    Map<String, String> inheritedLegacyProperties = getSystemStreamProperties(getSystem(streamId), getPhysicalName(streamId));
    return new MapConfig(Arrays.asList(inheritedLegacyProperties, allProperties));
  }
Gets all of the properties for the specified streamId (includes current and legacy config styles).
This will return a Config with the properties that match the following formats (if a property is specified through
multiple formats, priority is top to bottom):
1) "streams.{streamId}.{property}"
2) "systems.{systemName}.streams.{streamName}.{property}" where systemName is the system mapped to the streamId in
the config and streamName is the physical stream name mapped to the stream id
3) "systems.{systemName}.default.stream.{property}" where systemName is the system mapped to the streamId in the
config

@param streamId the identifier for the stream in the config.
@return         the merged map of config properties from both the legacy and new config styles
samza-core/src/main/java/org/apache/samza/config/StreamConfig.java