public Properties getProperties() {
    return mapToProperties(getConfig());
  }
Make a copy of the spec with new properties
@param properties properties of the Kafka stream
@return new instance of {@link KafkaStreamSpec}
samza-kafka/src/main/java/org/apache/samza/system/kafka/KafkaStreamSpec.java