gateway.conf

Describes configuration parameters for the data-fabric gateway.

The /opt/mapr/conf/gateway.conf file specifies configuration parameters for the gateway that supports table and stream replication.

WARNING Changing the default settings in the gateway.conf file is not recommended and is not likely to improve performance. If you still need to make changes to the gateway.conf file, you must restart the gateway after doing so. See Configuring Gateways for Table and Stream Replication.

Field

Default

Description

gateway.port

7660

The gateway listening port.

gateway.receive.numthreads

128

The number of worker threads to receive replication stream requests.

gateway.flush.numthreads

128

The number of flush threads to send put requests to replicas.

gateway.put.mem.mb

128

The maximum size limit (in MB) of the putbuffer memory.

gateway.logfile.size.mb

1024

The maximum size limit (in MB) of the data-fabric gateway log file. When the size limit is reached, the logs get rolled over.

gateway.es.request.maxsize.kb

128

The maximum size limit (in KB) of replication requests distributed by data-fabric source clusters. This property is no longer supported.

gateway.es.cluster.maxClients 1 Max number of clients for the HPE Ezmeral Data Fabric Streams. This property is no longer supported.

Example gateway.conf file

#
# Gateway Config file.
# Properties defined in this file are loaded during startup
# and are valid for only Gateway which loaded the config.
# These parameters are not persisted anywhere else.
#
# Gateway listening port
#gateway.port=7660
# Number of worker threads to receive replication stream requests
#gateway.receive.numthreads=128
# Number of flush threads to send put requests to replicas
#gateway.flush.numthreads=128
#
# Max limit on putbuffer memory in MB
#gateway.put.mem.mb=128
#
# Max limit on log file size
#gateway.logfile.size.mb=1024
#
#
# Gateway ES properties
#gateway.es.request.maxsize.kb=128
#gateway.es.cluster.maxClients=1