Stefan Wachter created BEAM-12578:
-------------------------------------

             Summary: Illegal parameter type: OnWindowExpirationContextParameter
                 Key: BEAM-12578
                 URL: https://issues.apache.org/jira/browse/BEAM-12578
             Project: Beam
          Issue Type: Bug
          Components: beam-model
    Affects Versions: 2.29.0
            Reporter: Stefan Wachter


{{OnWindowsExpirationContext}} can not be used as a parameter for {{DoFn}} 
methods annotated by {{@OnWindowExpiration}}. The following exception is raised:
{code:java}
 java.lang.IllegalArgumentException: 
org.opennms.nephron.cortex.PaneAccumulator$PaneCombinerFn: Illegal parameter 
type: OnWindowExpirationContextParameter{}{code}

As a workaround a parameter of type {{OutputReceiver}} can be used, though.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to