Skip to main content
Version: 0.4

Project status

Nussknacker is production ready - it's been used in major Polish telcom since beginning of 2017. However, it's still under active development, so some parts of the API may change in the future.

For detailed instructions how to migrate to the newest version please see migration guide.

Nussknacker versions

0.4.2

  • #2191 KafkaAvroSink performance fix

0.4.1

  • #1968 BestEffortJsonEncoder uses ServiceLoader mechanism to load additional encoders.

0.4.0

  • More precise TypeInformation generation
    • #1338 Defining TypeInformation based on TypingResult
    • #1343 Aggregators compute stored types
    • #1343 Improvements in variable output validation
    • #1360 Service query can use global variables
    • #1375 Opt-in for new TypeInformation detection for inter operator serialization
  • #1361 Lazy vars removal
  • #1363 Open/close only services that are actually used in process
  • #1367 Custom actions - first, experimental version
  • Migration of CI to github actions
    • #1368 Publish docker images/jars via GH actions (experimental)
    • #1381 Use GH Actions for coverage
    • #1383 Switch github badges
  • #1382 First E2E FE tests
  • #1373 Ability to load custom model config programmatically
  • #1406 Eager services - ability to create service object using static parameters
  • #962 New ways of querying InfluxDB for counts, integration tests, no default database name in code
  • #1428 Kafka SchemaRegistry source/sink can use JSON payloads. In this PR we assume one schema registry contains either json or avro payloads but not both.
  • #1445 Small refactor of RecordFormatter, correct handling different formatting in kafka-json in test data generation
  • #1433 Pass DeploymentData to process, including deploymentId and possible additional info
  • #1458 PeriodicProcessListener allows custom handling of PeriodicProcess events
  • #1466 ProcessManager API allows to return ExternalDeploymentId immediately from deploy
  • #1405 'KafkaAvroSinkFactoryWithEditor' for more user-friendly Avro message definition.
  • #1514 Expose DeploymentData in Flink UI via NkGlobalParameters
  • #1510 FlinkSource API allows to create stream of Context (FlinkSource API and test support API refactoring).
  • #1497 Initial support for multiple (named) schedules in PeriodicProcessManager
  • #1499 ClassTag is provided in params in avro key-value deserialization schema factory: KafkaAvroKeyValueDeserializationSchemaFactory
  • #1533 Fix: Update process with same json
  • #1546 Unions (e.g after split) are possible in standalone mode. Also, it's possible to define transformers which operate on all results (e.g. for sorting recommendations)
  • #1547 Publish first version of BOM including dependencyOverrides
  • #1543 ComponentProvider API enables adding new extensions without changing e.g. ProcessConfigCreator
  • #1471 Initial version of session window aggregate added (API may change in the future).
  • #1631 Ability to use multiple config files with nussknacker.config.location system property
  • #1512 KafkaSourceFactory is replaced with source that provides additional #inputMeta variable with event's metadata.
  • #1663 Flink restart strategies and exception consumers can now be configured.
  • #1728 Replace schemaRegistryClient and recordFormatter in SchemaRegistryProvider with their factories.
  • #1651 KafkaAvroSourceFactory provides additional #inputMeta variable with event's metadata.
  • #1756 TypingResultAwareTypeInformationDetection can be used to serialize aggregates more efficiently
  • #1772 Fix for Spel validation when we try use not existing method reference
  • #1741 KafkaExceptionConsumer can be configured to send errors to Kafka
  • #1809 Performance optimization for aggregates: do not update state if added element is neutral for current state
  • #1886 Performance optimization for aggregates: do not save context in state. Added #AGG utility for easier switching from simple aggregating functions like 'Sum' to more complex #AGG.map()
  • #1820 Added missing support for some logical types (LocalDate, LocalTime, UUID) in json encoding
  • #1799 ConfluentAvroToJsonFormatter produces and reads test data in valid json format with full kafka metadata and schema ids.
  • #1839 Set up explicitUidInStatefulOperators model's flag to true by default.
  • #1357 Add run mode to nodes to be able to determine if we are inside e.g. test process run. Run mode is can be declared as a dependency in generic node transformations. Nodes created via @MethodToInvoke can declare RunMode as an implicit parameter. RunMode is also available in FlinkCustomNodeContext.
  • Various naming changes:
    • #1917 configuration of engineConfig to deploymentConfig
    • #1911 Rename process to scenario, subprocess to fragment in messages at backend and some test cases names
    • #1921 ProcessManager to DeploymentManager
    • #1927 Rename outer-join to single-side-join
  • Performance fixes:
    • #1330 Multiple times parsing expressions in map/product LazyParameter
    • #1331 LoggingListener caches loggers
    • #1334 Type promotion cache
    • #1335 Omitting zeros for sum aggregate to avoid unnecessary buckets
    • #1336 Aggregation metrics
  • #1321 Exception handler accessible via custom node context, avro record encoding errors reported by exception handler

0.3.0

  • #1298 Feature flag avroKryoGenericRecordSchemaIdSerialization for avro kryo serialization optimization (default = false)
  • #1315 Spring bumped 5.1.4 -> 5.1.19
  • #1312 Ficus bumped 1.4.1 -> 1.4.7
  • #1288 Namespaces can be configured for ObjectNaming
  • #1261 Fix: Access to map.missingKey caused Property or field cannot be found on object
  • #1244 Ability to define variablesToHide in Parameter
  • #1165 Typed global variables
  • #1128 Union-memo transformer
  • #1054 Tabbed dark process list
  • Configuration improvements (library upgrade, conventions): #1151, #1166
  • #873, #1044 Flink upgrade (to 1.11)
  • More graceful handling of Flink compatibility issues (in particular, `FlinkCompatibilityProvider trait introduced, also ProcessManager implementations are separated from UI to allow easier changes in deployments): #1150, #1218
  • #1183 New back to process button on metrics
  • #1188 Fix env label and provide nussknacker logo
  • #249 Inferred expression type in node modal
  • #1255 Moved displaying Metrics tab to customTabs
  • #1257 Improvements: Flink test util package
  • #1287 OAuth2: add accessTokenRequestContentType parameter
  • #1290 Own kryo serializers can be provided through SPI
  • #1303 TypedObjectTypingResult can have additional info (e.g. Schema for GenericRecord)

0.2.2

  • #1175 Fix for: BestEffortAvroEncoder haven't produced record with logical types for missing field with default values
  • #1173 Fix for: Avro source wasn't be able to read record with schema with invalid defaults

0.2.1

  • #1127 Fix too small count values
  • #1133 Improvements: More flexible TestReporter instancies implementation
  • #1131 Fix: Disable "deploy" & "metrics" buttons for subprocess
  • #1148 Fix FE regexp for match node id

0.2.0

  • #1099 New outer-join node
  • #1024 Added default async interpretation value configured by asyncExecutionConfig.defaultUseAsyncInterpretation (false if missing).
  • #879 Metrics can now use Flink variables for better reporting, it's recommended to use InfluxDB native protocol instead of legacy Graphite protocol to send metrics to InfluxDB.
  • #940 More detailed node errors
  • #949 JVM options can be configured via JDK_JAVA_OPTIONS env variable (in docker and standalone distribution)
  • #954 Correct handling of types in empty inline lists
  • #944 System cache mechanism
  • #704 Preloaded creator panel node icons
  • #943 Literal min / max validators
  • #976 Fixed save button & groups expand for businessView
  • #973 Textarea editor
  • #987 Optimized graph rendering time, fixed minor bugs (expand group icon, view center & fit after layout).
  • Introduction to KafkaAvro API: #871, #881, #903, #981, #989, #998, #1007, #1014, #1041,
  • Performance improvements in interpreter: #1008, #1013. The second one also removes Future[] from expression evaluation
  • Dynamic parameters: filter validation, GenericNodeTransformation introduction (for CustomNodes, Sources, Sinks) - also handling dynamic parameters on UI: #978, #996, #1001, #1011
  • #988 Json editor
  • #1066 Duration and period editors fixes
  • #1126 New nodes: periodic source, delay and dead-end

0.1.2

  • #965 Added new, 'aggregate-tumbling' node.
  • #957 Custom node aggregate has now additional aggregation function Sum. Also was changed parameter from windowLengthInSeconds to windowLength with human friendly duration input.

0.1.1

  • Branch parameters now can be eager (computed during process compilation)
  • More restrictive type checking in SpEL - mainly added verification of types of method's paramaters
  • Added support for Kafka consumer group strategies - setted up by kafka.consumerGroupNamingStrategy configuraton option
  • Bugfixes for joins

0.1.0

  • Added support for explicitly setting uids in operators - turned on by explicitUidInStatefulOperators model's flag. By default setted up to false.
  • Old way of configuring Flink and model (via flinkConfig and processConfig) is removed. processTypes configuration should be used from now on.
  • Change of additional properties configuration

0.0.12 (26 Oct 2019)

  • Cross builds with Scala 2.11 and 2.12
  • First version of join nodes
  • OAuth2 authentication capabilities
  • Migration of Argonaut to Circe
  • Preliminary version of dictionaries in expressions
  • Major upgrade of frontend libraries (React, Redux, etc)
  • Various usability improvements

0.0.11 (1 Apr 2019)

0.0.10 (13 Nov 2018)

0.0.9 (13 Jul 2018)

0.0.8 (7 May 2018)

  • expressions code syntax highlighting
  • source/sink params as expressions
  • multiline expression suggestions
  • method signature and documentation in code suggestions
  • inject new node after dragging on edge
  • Query services tab in UI
  • subprocess disabling
  • display http request-response for query service tab
  • flink kafka 0.11 connector
  • dynamic source return type
  • SQL can be used as expression language
  • Processes page rendering optimized
  • suggestions for projections/selections in spel
  • upgrade to flink 1.4.2
  • upgrade to scala 2.11.12
  • Make sinks disableable

0.0.7 (22 Dec 2017)

  • global imports in expressions
  • deployment standalone on multiple nodes
  • typed SpEL expressions - first iteration
  • can post process standalone results
  • support for java services
  • handling get requests in standalone mode
  • metric fixes for standalone
  • compare with other env
  • split in request/response mode by expression
  • ProcessConfigCreator Java API support added
  • extendable authentication
  • comparing environments - first part, can compare processes
  • subprocess versions
  • process migrations + some refactoring
  • async execution with toggle
  • better exception for errors in service invocations
  • nussknacker java api
  • spring version bump because of SPR-9194

0.0.6 (9 Aug 2017)

First open source version :)

Compatibility matrix

Table below contains versions of libraries/apps that can be used with Nussknacker

NussknackerFlinkKafkaInfluxDBGrafana
master1.7.20.11.0.21.2.05.4.0
0.0.121.7.20.11.0.21.2.05.4.0
0.0.111.6.10.11.0.21.2.05.4.0
0.0.101.6.10.11.0.21.2.05.4.0
0.0.91.4.20.11.0.21.2.05.4.0
0.0.81.4.20.11.0.21.2.04.0.1
0.0.71.3.10.9.0.11.2.04.0.1
0.0.61.3.10.9.0.11.2.04.0.1