Enabling a clustered watch

Use this information to enable a clustered watch.

To enable a clustered watch on a file system, run the mmwatch command:
mmwatch <Device> enable --event-handler kafkasink --sink-brokers "BrokerIP:Port" --sink-topic "Topic"
To enable a clustered watch on a fileset, run the mmwatch command:
mmwatch <Device> enable --fileset <fsetname> --event-handler kafkasink --sink-brokers "BrokerIP:Port" --sink-topic "Topic"

For more information, see Actions that the mmwatch command takes to enable a clustered watch. For more information about using the --sink-auth-config flag, see Interaction between clustered watch folder and the external Kafka sink.