Sign inSign up

touk/nussknacker-lite-runtime-app

By touk

Updated 5 days ago

Application used by Nussknacker designer to run scenarios on Lite engine.

Image
0

100K+

touk/nussknacker-lite-runtime-app repository overview

Nussknacker Lite runtime application

This image contains Nussknacker runtime for scenarios runned on Lite engine.

Tags semantic

latest - always points to the latest, stable version

latest-staging - developer build with latest, not released yet features

How to use

This image is not designed to be used from command line at first place. The main purpose of it is to be used programmatically by Nussknacker K8s Deployment Manager.

If you want to check it manually, the invocation will look like:

docker run -it --network host -e KAFKA_ADDRESS=localhost:3032 -e SCHEMA_REGISTRY_URL=http://localhost:3082 -v /tmp/scenario.json:/opt/nussknacker/conf/scenario.json -v /tmp/deploymentConfig.conf:/opt/nussknacker/conf/deploymentConfig.conf touk/nussknacker-lite-runtime-app:latest

where:

  • /tmp/scenario.json - file with scenario json. You can get some by creating scenario in Streaming processing mode using Nussknacker and after that exporting it to file
  • /tmp/deploymentConfig.conf - file with deployment configuration, currently it contains only tasksCount parameter with number of parallel tasks consuming topics. Example:
tasksCount: 2
  • --network host - to be able to connect with Kafka and Schema Registry exposed on host machine. Note: It only works on linux and is used to connect to existing kafka/schema registry. In case of other OS you have to use different methods to make it accessible from Nussknacker container (e.g start Kafka/SR and Nussknacker in a single docker network)
  • -e KAFKA_ADDRESS=localhost:3032 - Kafka address
  • -e SCHEMA_REGISTRY_URL=http://localhost:3082 - schema registry url

Both Kafka and schema registry can be exposed e.g. using docker-compose-env.yml inside Nussknacker Quickstart

License

This image is published under Apache License 2.0.

Tag summary

Content type

Image

Digest

sha256:31723c3c5

Size

226.7 MB

Last updated

5 days ago

docker pull touk/nussknacker-lite-runtime-app:gh-staging-latest