Configure the Deephaven console service
This guide shows how to disable console code execution and autocomplete with configuration properties.
The console service is a gRPC service that executes code and returns autocompletion results. For background, see Protocol Buffers and Remote Procedure Calls. For the full service definition, see console.proto.
Configuration
Set these properties as JVM flags, such as -Ddeephaven.console.disable=true, or in a configuration file.
deephaven.console.disable: Set totrueto disable console-based code execution. The default isfalse.deephaven.console.autocomplete.disable: Set totrueto disable autocomplete for both Groovy and Python. The default isfalse.
Disabling console code execution prevents API clients, including the web UI, from starting REPL sessions and from subscribing to server logs. It also stops the server from returning console types and from publishing application mode fields to clients. Those sessions run with the same privileges on the host as the server process.