Deephaven¶
Requirements
-
Docker
-
JDK 17
Getting Started with Deephaven¶
-
Install sample python-example containers from Deephaven from Quick start Install Deephaven
-
If you run into errors with the grpc container, downgrade the containers in the "docker-compose.yml" file to 0.16.1
-
Go to http://localhost:10000/ide/ on the browser
-
Execute the following commands in the deephaven ide
This will create a ticking table that will insert a new timestamp record every 2 seconds.
Installing the feedhandler plugin to AMI¶
-
Place
DeephavenFH.jar
and all other jar files in thedependencies
directory under/amione/lib/
-
Copy the properties from the
local.properties
file to your ownlocal.properties
-
For JDK17 compatibility, use the attached start.sh file or add the following parameters to the java launch command
-
Add the following to the java launch parameters to the start.sh file as well
-
Launch AMI
Configuring the feedhandler¶
There are 3 properties that can be configured from the local.properties file:
-
ami.relay.fh.deephaven.props.url
- subscription source url -
ami.relay.fh.deephaven.props.topics
- tables to be subscribed to (delimited by commas) -
ami.relay.fh.deephaven.props.messagesize
- (optional) maximum size of messages from the source. Default is 1000000.
For example, to subscribe to a localhost deephaven server with tables Sample1 & Sample2 with a maximum message size of 2000000: