Router parameters (cdap-site.xml and cdap-default.xml)

Note: If you update the cdap-site.xml file while the CDAP server is running, the router service needs to be restarted to fetch the updated config.

Parameter Name

Default Value

Description

Parameter Name

Default Value

Description

router.audit.log.enabled

${security.enabled}

Determine if access audit log is enabled.

router.audit.path.check.enabled

true

Determines if to check the number of paths for audit logging.

router.bind.address

0.0.0.0

CDAP Router service bind address.

router.bind.port

11015

CDAP Router service bind port.

router.block.request.enabled

false

Determines whether server should start blocking inbound requests. If true, server would start responding to every request (not router health checks) with response declared in conf.

router.block.request.status.code

503

The status code if request-blocking is enabled.

router.block.request.message

 

The response body if request-blocking is enabled.

router.connection.backlog

20000

The connection backlog in the CDAP Router service.

router.connection.idle.timeout.secs

15

Time in seconds after an HTTP request completes that idle router connections are closed.

router.server.address

127.0.0.1

CDAP Router service address to which CDAP UI connects.

router.server.boss.threads

1

The number of boss threads in the CDAP Router service.

router.server.port

${router.bind.port}

CDAP Router service port.

router.server.worker.threads

10

The number of worker threads in the CDAP Router service.

router.ssl.bind.port

10443

CDAP Router service bind port for HTTPS.

router.ssl.server.port

${router.ssl.bind.port}

CDAP Router service bind port for HTTPS.

router.ssl.cert.path

 

File path to certificate and private key file in PEM format to use for CDAP Router when ssl.external.enabled is set to true.

Created in 2020 by Google Inc.