Deephaven¶
The following are required to use Deephaven with 3forge:
-
Docker
-
JDK version >=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.jarand all other jar files in thedependenciesdirectory under/amione/lib/. -
Copy the properties from the
local.propertiesfile 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:
