Segmentation Operations

Analise the problem

If we receive an alert related to a particular segment, we should utilize the Segment Execution Analyzer at the link: Segment Execution Analyser.

Resolving errors in the scheduler-errors subscription:

  • We need to dump the error messages and examine the issue.

  • After analyzing the error messages, we should republish anything that can be fixed to the scheduler-segmentation-publisher topic. The attribute job_data must be present.

you can use the me-cli for that. For example:
$ me-cli pubsub subscriptions dump -n scheduler-errors-sub
$ vim /tmp/dump-scheduler-errors-sub
$ echo 'Purge the messages before publishing'
$ me-cli pubsub subscriptions purge -n scheduler-errors-sub'
$ me-cli pubsub publish -f /tmp/dump-scheduler-errors-sub -t scheduler-segmentation-publisher