Parameter Name | Type | Default | Notes |
---|---|---|---|
CompressionThreshold | UInt64 | 30 | Sets the message size threshold (in bytes, the allowed value is 30-UInt32 MAX), above which all messages are compressed (thus individual messages might not be compressed). Different compression types have different behaviors and compression efficiency can vary depending on message size. |
CompressionType | Enumeration | None | Specifies the Enterprise Message API’s preferred type of compression. Compression is negotiated between the client and server: if the server supports the preferred compression type, the server will compress data at that level. Use enumeration values with Enterprise Message API’s programmatic configuration (for further details, refer to Section 4.5). Available values include: • None (0) • ZLib (1) • LZ4 (2) |
NOTE: A server can be configured to force a particular compression type, regardless of client settings. | |||
DirectWrite | UInt32 | 0 | Specifies whether to set the direct socket write flag when sending data on a channel. When the flag is set, every package is sent on the wire immediately on the submit call. If direct write is not set, the package might be placed into an internal queue which is later flushed onto the wire. Possible values are: • 0: Send data without the direct socket write flag. • 1: Send data with the direct socket write flag. For more information on the direct socket write flag and rsslWrite, refer to the Transport API C Edition Developers Guide. |
Host | EmaString | localhost | Specifies the host name of the server to which the Enterprise Message API connects. The parameter value can be a remote host name or IP address. |
Port | EmaString | 14002 | Specifies the port on the remote server to which the Enterprise Message API connects. |
ProxyConnectionTimeout | UInt64 | 40 | Specifies the maximum time in seconds a connection with proxy is allowed to be established. |
ProxyHost | EmaString | "" | Specifies the host name of the proxy to which the Enterprise Message API connects. The parameter value can be a host name or an IP address. Any value provided by a function call overrides the setting in configuration file. |
NOTE: This parameter can be used to invoke REST requests such as service discovery and obtain an authentication token. They have lower precedence than the proxy settings (RestProxyHostName) specified in the Consumer group. Refer to Section 3.1.4. | |||
ProxyPort | EmaString | "" | Specifies the port on the proxy to which the Enterprise Message API connects. Any value provided by a function call overrides the setting in configuration file. |
NOTE: This parameter can be used to invoke REST requests such as service discovery and obtain an authentication token. They have lower precedence than the proxy settings (RestProxyPort) specified in the Consumer group. Refer to Section 3.1.4. | |||
TcpNodelay | UInt64 | 1 | Specifies whether to use Nagle’s algorithm when sending data. Available values are: • 0: Send data using Nagle’s algorithm. • 1: Send data without delay. |