Listeners can be added and enabled from the Flint Console. Also, we can view the list of enabled as well as disabled Listeners along with their versions.
With the help of this document, you will be able to add a Listener on the Grid.
Let us see how we can add and enable a Listener in simple steps as below:
- Log on to Flint UI Console
- Visit the Listeners link on left navigation bar
- Click on Add Listener
- In the form displayed, fill up necessary form fields ( as shown below )
- Click on Add button
|Name||Name of the Listener to add.||true|
|Type||A list of all the listeners available with Flint is displayed here. Choose the Listener type, from the listing. The type uses the following naming convention: flint-[listener type]-listener. Example: Type for a IMAP listener is: flint-imap-listener.||true|
|Version||Version Of the Listener to add.||true|
|Trigger||Flintbit reference path or Flintbit name ( flint's convention ), which will trigger Flint to take relevant action based on the type of Listener. Example : example:email_trigger.rb||true|
|Description||Summarization of the Listener||false|
|Nr of instances||The number of instances with which the Listener will be enabled. Every instance is single threaded which will scale your application across all available worknodes you might want to deploy on. If omitted a Listener will be enabled with single instance.||false|
|HA Options||Flint allows you to enable the Listener with high availability ( HA ) support.||true|
|Config (JSON)||Parameters specified here are specific to the type of Listener used. To add config refer to the documentation, depending upon the type selected.||true|
The above steps will only add the Listener. To enable the Listener, click on the Actions button against the name of your newly added Listener and select Enable action.
- Enable: Starts the Listener execution. The Listener will start listening to events as soon as it is enabled and take relevant actions accordingly.
- Disable: Stops the Listener execution. No events can be listened to and acted upon if a Listener is disabled.
- Details: Name, Type, Version, Description, High Availability, Status and Worknode of the Connector is shown here.
- Edit/Manage: You can change the configuration parameters here.
- Delete: Completely removes the Listener from Flint
To enable/disable multiple Listeners, use Bulk Action