Cloud-gateway-server Configuration

AlertProperties

Name Default value Type Description

rsa.gateway.alert.enabled

true

boolean

Switch to turn off propagating alerts when received

rsa.gateway.alert.polling-in-seconds

20

seconds

Polling queue interval in SQS (max:

rsa.gateway.alert.retry-delay

10

seconds

Retry delay when sending to Respond

rsa.gateway.alert.timeout-retry-policy

24

seconds

Time out policy when trying to send to Respond

CloudProxyProperties

Name Default value Type Description

rsa.gateway.cloud.connection-timeout

10

seconds

The client connection time out period

rsa.gateway.cloud.customer-id

string

The customer id for registration

rsa.gateway.cloud.registration-uri

string

IOT connection string

rsa.gateway.cloud.request-response-timeout

20

seconds

The request / response timeout

GatewayProperties

Name Default value Type Description

rsa.gateway.registration-retry-interval

1

seconds

This property controls how long to wait before retrying a failed cloud registration attempt.

TokenProperties

Name Default value Type Description

rsa.gateway.token.refresh-interval

30

seconds

The cadence of how frequently to check if there is a need to refresh the token

rsa.gateway.token.refresh-threshold

75

integer

The percentage of time to refresh the token before it expires

CloudUploadProperties

Name Default value Type Description

rsa.gateway.upload.
auto-start

true

boolean

Determines if the uploads start on service start

rsa.gateway.upload.
cloud-upload-timeout

1

seconds

This property defines the timeout for S3 upload operations

rsa.gateway.upload.
compression-type

compressiontype

Compression type

rsa.gateway.upload.
consumer-retry-interval

1

seconds

This property defines the retry interval waiting for messages in the Blocking Queue Consumer Service

rsa.gateway.upload.
internal-block-size

256

bytes

The maximum memory

rsa.gateway.upload.
json-file-feed-directory

string

Optional json file feed directory for event source This field may be null or empty by default

rsa.gateway.upload.
max-cloud-retry-interval

15

seconds

This property defines the max retry interval waiting for cloud operations for exponential backoff

rsa.gateway.upload.
max-stream-memory-used

100

bytes

The maximum memory

rsa.gateway.upload.max-wait-before-upload

5

seconds

Max time to wait with events before uploading if the buffers are not full

rsa.gateway.upload.
max-wait-from-source

10

seconds

This property defines the max time we will wait for data from source while filling in buffer

rsa.gateway.upload.
min-cloud-retry-interval

1

seconds

This property defines the minimum retry interval waiting for cloud operations for exponential backoff

rsa.gateway.upload.
num-compress-threads

3

integer

How many consumer threads are used for compression

rsa.gateway.upload.
num-query-threads

1

integer

How many consumer threads are used for reading from source

rsa.gateway.upload.
num-upload-threads

5

integer

Maximum parallel uploads to AWS

rsa.gateway.upload.
source-type

clouduploadproperties$
sourcetype

The data source

rsa.gateway.upload.
upload-buffer-size

1

bytes

The maximum memory

rsa.gateway.upload.
upload-buffer-type

clouduploadproperties$
uploadbuffertype

Upload buffer type

rsa.gateway.upload.
upload-stream-buffer-relative-path

upload-buffers

string

Directory where upload streams can be buffered relative to the DefaultFileSystemService’s data dir. This field may be null or empty by default

TelemetryProperties

Name Default value Type Description

rsa.telemetry.active

true

boolean

Determines if this service actively collects telemetry

rsa.telemetry.collect-offline

false

boolean

If active, determines if this service stores telemetry if cloud is not accessible

rsa.telemetry.demo

false

boolean

Do demo only operations

rsa.telemetry.max-accepted

1000

integer

The maximum size the accepted telemetry queue can get. This can get full if the request interval is smaller than the upload delay.

rsa.telemetry.request-interval

15

seconds

How long to wait before request more telemetry

rsa.telemetry.upload-buffer-size

1

bytes

The amount of memory to use to serialize into the cloud

rsa.telemetry.upload-delay

60

seconds

The length of time to delay upload to wait for more telemetry from services

rsa.telemetry.upload-timeout

60

seconds

The length of time to to wait for upload to timeout