Based on the documentation, there are several ways that error handling is performed on the map. Below are a few:
and. Custom counters using enum - increment for each failed record.
b. Log error and analysis later.
Counters give the number of failed records. However, in order to get the identifier of the failed record (it may be its unique key), as well as information about the exception, the node on which the error occurred, we need to perform a centralized analysis of the log, and there are many running nodes. Logstash available.
In addition, are there other ways to handle error scenarios without manual intervention. Any tools, links, best practices are welcome.
I think the same method applies to any distributed applications with minor changes.
Ramzy source
share