Skip to content

HAZELCAST CLUSTER QUEUE - DATA SOURCE

Description

The HAZELCAST CLUSTER QUEUE data source is designed to retrieve data from a Hazelcast distributed queue. Hazelcast is an in-memory data grid that provides distributed data structures, including queues, maps, and sets. This method is particularly useful for accessing and processing data that is distributed across a cluster of nodes, allowing for high availability and scalability. The HAZELCAST CLUSTER QUEUE data source supports various configuration options to customize the data retrieval process, including specifying the name of the queue from which data will be retrieved.


Config

REQUIRED


Config Parameters

Name Description
queueName The name of the Hazelcast distributed queue from which data will be retrieved. This is a required parameter.

Config Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
<?xml version="1.0" encoding="UTF-8"?>
<apiroConf version="1" xmlns="http://apiro.com/apiro/v1/root">
    <loadOrder>10</loadOrder>
    <dataSources>
        <dataSource definition="HAZELCAST_CLUSTER_QUEUE" execPriority="10" name="TEST_CLUSTER_QUEUE_SOURCE">
            <config>
                <![CDATA[
                    {
                        "queueName" : "CUSTOMER_ANON"
                    }
                ]]>
            </config>
        </dataSource>
    </dataSources>
</apiroConf>

Common Mistakes

  • Incorrect Queue Name: Ensure that the queueName parameter matches the name of an existing Hazelcast distributed queue within the cluster.
  • Cluster Configuration: Verify that the Hazelcast cluster is correctly configured and that the application has the necessary permissions to access the specified queue.
  • Network Issues: If you encounter connectivity issues, check the network configuration and ensure that the Hazelcast cluster is accessible from the machine running the data source.