Running the Event Stream Producer (ESP) as an Application

The syntax for running the ESP as an application is as follows.

JadeEventProducer <config-file-name> [Producer Name]

The JadeEventProducer parameters are listed in the following table.

Parameter Description
<config-file-name>

Path to the event stream producer configuration file.

If you are running multiple copies of the ESP, you should use different configuration (config.json) files for each Producer, specifying different log files so that multiple producers do not write to the same log file.

Producer name

Optional name for this producer. The default producer name is DEFAULT. The producer name is:

  • Represented in the log file and is useful when distinguishing between messages from producers running on different databases.

  • Displayed as the title of the Console window in which it is running, which enables you to distinguish between different producers.

If you try to run more than one producer reading from the same change capture directory with the same name, this will be detected, logged, and the producer shut down.

The following is an example of running the ESP as an application.

JadeEventProducer.exe config\producer.config.json PRODUCER1

Refer to "Event Stream Producer Configuration" in Chapter 3 for details about setting up the Producer configuration file.

For details about running the ESP as a Windows service, "Running the ESP as a Windows Service", later in this chapter.