Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Follow the steps below to send multiple events to a defined event stream using a datasource via the event simulator.

  1. Create a datasource. For instructions on creating a datasource, see Configuring an RDBMS Datasource.
  2. Log in to the CEP management console using the following URL: https://<PRODUCT_HOST>:<PRODUCT_PORT>/carbon/
  3. Click Tools, and then click Event Simulator.
  4. Select the Event Stream Name from the drop down list.
  5. Click switch to add configuration for simulate by database.
    Click switch to add configuration for simulate by database
  6. Enter the datasource information to be used when simulating the events, as shown below.

    Column types in the table of the datasource should match with the event stream attributes. Also, use either 'true' or 'false' as values for boolean type attributes that are defined in an event stream, when sending events via the event simulator.

    entering the values for the attributes

  7. Click Test Connection, and then click Save, to test the connection and save it. When the configuration file gets hot deployed, click Play to simulate sending events via the database as shown below.
    sending events using the created datasource conection
  • No labels