You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streampipes.apache.org by GitBox <gi...@apache.org> on 2021/08/09 21:11:41 UTC

[GitHub] [incubator-streampipes] dominikriemer commented on a change in pull request #48: flink 1.13 rest port config & Keep kafka consumer group for Pipeline action and sepas

dominikriemer commented on a change in pull request #48:
URL: https://github.com/apache/incubator-streampipes/pull/48#discussion_r685519049



##########
File path: streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/execution/http/PipelineExecutor.java
##########
@@ -107,7 +108,7 @@ private void updateGroupIds(InvocableStreamPipesEntity entity) {
             .filter(is -> is.getEventGrounding().getTransportProtocol() instanceof KafkaTransportProtocol)
             .map(is -> is.getEventGrounding().getTransportProtocol())
             .map(KafkaTransportProtocol.class::cast)
-            .forEach(tp -> tp.setGroupId(UUID.randomUUID().toString()));
+            .forEach(tp -> tp.setGroupId(pipeline.getName() + "-" + MD5.crypt(tp.getElementId())));

Review comment:
       Can we use pipeline.getId() instead of the name to avoid having blank spaces from the user-defined pipeline name in the group Id?




-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org