Steve Blackmon created STREAMS-148:
--------------------------------------

             Summary: Platform-level type validation
                 Key: STREAMS-148
                 URL: https://issues.apache.org/jira/browse/STREAMS-148
             Project: Streams
          Issue Type: Improvement
            Reporter: Steve Blackmon


Investigate / implement mechanisms for a streams runtime (starting with 
streams-runtime-local) to validate each document against it's declared type 
class(es) using whatever javax.validation annotations are present on those 
classes at any point where a document is pulled off a provider or processor  
outbound queue.  A non-valid document should be logged to WARN, and written to 
a different queue which downstream processors/providers can connect to using 
StreamBuilder.  Demonstrate this works by making activity.id a required field 
in streams-pojo and having a test that ensures an activity without an id is 
caught and handled by the runtime.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to