jupyter-jvm-basekernel
jupyter-jvm-basekernel copied to clipboard
IPC Support
For kernels running on java 16 we should be able to use unix domain socket channels to connect to a jupyter client with ipc
configured as the transport.
Depends on a jeromq change https://github.com/zeromq/jeromq/pull/967 for that.
Related to this, we should also fail if trying to bind via ipc://
on a jvm that doesn't support it as currently we will just bind to some tcp loopback ports (jeromq's method for faking ipc support between jeromq instances) but never accept any connections. Support for that check is also in the linked jeromq PR.
Supporting this transport is especially important for running on google colab but also useful in containers.