Description
Issues with the current implementation:
- hard to evolve the schema
If I need to add one attribute, requires change in various places - Too many enum classes for the same variable
Confuses the heck out of me. Some small, some caps - FalconPostProcessing gets args, parses the args into CLI and converts 'em back into args repeatedly
Too much redundant processing - Timestamp should be long as opposed to a String - minor?
I need to compare dates and thought long is easier instead of constructing expensive SimpleDateFormats - Hard dependency on JMS.
Suggest the following:
- Have the payload in a Map serialized as JSON
- wonder how to pass this from oozie
- Have one central Enum class for the keys in the payload
- Each class now depends on this Enum and takes what it needs from the Map
We also could rethink about the current messaging which falcon relies on (had started a discuss thread but did not get any response):
- Continue to use JMS
- Switch to FS Polling
- Use both
Thoughts?
Attachments
Issue Links
- blocks
-
FALCON-222 Capturing Oozie logs post workflow completion needs to move into Falcon daemon
- Open
-
FALCON-476 Introduce database to persist falcon materialized workflow status in workflow engine
- Open
- is blocked by
-
FALCON-287 Record lineage information in post processing
- Resolved
- is related to
-
FALCON-489 Consume ProcessSubscriberService into WorkflowJobEndNotificationService
- Open
-
FALCON-490 Create a new Polling Subscriber to poll hdfs for job end events in WorkflowJobEndNotificationService
- Open
-
FALCON-491 Add Rerun context in Rerun framework
- Open
-
FALCON-665 Handle message consumption failures in JMSMessageConsumer
- Resolved