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 2019/11/07 04:21:29 UTC

[GitHub] [pulsar] wolfstudy edited a comment on issue #5520: Missing documentation for window functions

wolfstudy edited a comment on issue #5520: Missing documentation for window functions
URL: https://github.com/apache/pulsar/issues/5520#issuecomment-550707625
 
 
   Sorry, I missed this message.
   
   > But I'd still like to see documentation for what windowing is supposed to do :-)
   
   @candlerb Currently, does not support `window function` in Python Function. 
   
   ```
   private static void doPythonChecks(FunctionConfig functionConfig) {
           if (functionConfig.getProcessingGuarantees() == FunctionConfig.ProcessingGuarantees.EFFECTIVELY_ONCE) {
               throw new RuntimeException("Effectively-once processing guarantees not yet supported in Python");
           }
   
           if (functionConfig.getWindowConfig() != null) {
               throw new IllegalArgumentException("There is currently no support windowing in python");
           }
   
           if (functionConfig.getMaxMessageRetries() != null && functionConfig.getMaxMessageRetries() >= 0) {
               throw new IllegalArgumentException("Message retries not yet supported in python");
           }
       }
   ```

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