You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by GitBox <gi...@apache.org> on 2020/03/16 20:30:51 UTC

[GitHub] [samza] alnzng commented on a change in pull request #1299: SAMZA-2477: JobModel isn't updated with latest "task.inputs" if enabled regex topic rewriter

alnzng commented on a change in pull request #1299: SAMZA-2477: JobModel isn't updated with latest "task.inputs" if enabled regex topic rewriter
URL: https://github.com/apache/samza/pull/1299#discussion_r393292546
 
 

 ##########
 File path: samza-core/src/main/scala/org/apache/samza/coordinator/JobModelManager.scala
 ##########
 @@ -353,20 +357,23 @@ object JobModelManager extends Logging {
                    changeLogPartitionMapping: util.Map[TaskName, Integer],
                    streamMetadataCache: StreamMetadataCache,
                    grouperMetadata: GrouperMetadata): JobModel = {
-    val taskConfig = new TaskConfig(config)
+    // refresh config if enabled regex topic rewriter
+    val newConfig = refreshConfigByRegexTopicRewriter(config)
 
 Review comment:
   Thanks for the good suggestion @mynameborat . This way can help reduce lots of diffs which make the commit more clear. 
   Also done the changes.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services