You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/07/28 01:54:58 UTC

[GitHub] rdhabalia opened a new pull request #2261: Avoid creating output topic on tenant namespace if output-topic not provided

rdhabalia opened a new pull request #2261: Avoid creating output topic on tenant namespace if output-topic not provided
URL: https://github.com/apache/incubator-pulsar/pull/2261
 
 
   ### Motivation
   
   Sometime user wants to use pulsar-function only for processing source-messages and do not want to redirect output to any topic. Right now, if user doesn't provided output topic on function-cli then cli derives output-topic and forces output messages to be redirected to that topic. It causes new topic creation under a tenant's namespace without tenant's permission and PulsarSink unnecessary publishes messages to that newly created topic. Also if the namespace is global then messages of the output topic will be replicated to other clusters as well. 
   So, function should not write messages to output topic if output topic is not provided.
   
   ### Modifications
   
   - function-cli doesn't compute output topic name  if it's not provided
   - function worker doesn't create output topic if it's not present 
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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