dpol1 commented on PR #1868: URL: https://github.com/apache/stormcrawler/pull/1868#issuecomment-4266341474
@rzo1 thanks for the analysis - that’s exactly what was blowing things up. I ended up applying the same `LinkedHashMap.class` trick, but centralized it in a `sourceAsMap(JsonData)` helper on `AbstractSpout` instead of inlining it in both spouts: - workaround + comment live in one place (DRY, less Parsson noise in the spouts) - handles `null` safely and returns an empty map - has its own unit test (`AbstractSpoutTest`) so we notice if the client changes behavior later Think this approach is more solid, not to refine later - I ran the crawler locally via Docker and perfectly work but please double check. -- 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]
