jerrypeng opened a new issue #3993: Fail to update functions in 
Effectively-once mode
URL: https://github.com/apache/pulsar/issues/3993
 
 
   **Describe the bug**
   
   Cannot update a function that was started in effectively-once mode.
   
   
   **To Reproduce**
   
   If I submit a function with function config:
   
   ```
   name: java-jerry-test
   tenant: public
   namespace: default
   jar: pulsar-functions/java-examples/target/pulsar-functions-api-examples.jar
   className: org.apache.pulsar.functions.api.examples.TestFunction
   inputSpecs:
     persistent://public/default/java-input:
       receiverQueueSize: 100
   output: persistent://public/default/java-output
   parallelism: 1
   processingGuarantees: EFFECTIVELY_ONCE
   ~                                        
   ```
   
   Attempting to update the parallelism:
   
   ```
   Jerrys-MBP:incubator-pulsar jerrypeng$ ./bin/pulsar-admin functions update 
--name java-jerry-test --parallelism 4
   Retain Orderning cannot be altered
   
   Reason: Retain Orderning cannot be altered
   ```
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to