ajothomas opened a new pull request, #1640:
URL: https://github.com/apache/samza/pull/1640

   # Summary
   `ApplicationUtil.isHighLevelApiJob` doesn't work for cases where 
`SamzaApplication` could have been created as an anonymous class and lambdas
   
   # Cause
   Anonymous class names and lambdas classes cannot be created using `Class 
forName()`. As a result, the current logic currently assumes that the class 
name was incorrect. 
   
   # Fix 
   Introduce an internal config `app.api.type` and we set the config using 
`AppDescriptor` in `JobPlanner`.
   
   # Test
   - Unit test for `ApplicationUtil.isHighLevelApiJob`
   - Tested with a sample application


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to