confluentinc / confluentinc/ksql

UDFs should be reconfigurable without restarting KSQL

Open
#2,102 0 comments 2 reactions 0 assignees View on GitHub
enhancement user-defined-functions
Dominant language
Java
Stars
315
Forks
1k
Avg merge
1d 7h
Merged PRs (30d)
36

Description

Currently if a UDF needs to be reconfigured/changed it requires a restart of the KSQL server environment. It would be useful if the UDF could reconfigured without restarting the environment which would interrupt running queries.

### Use case
A UDF that uses an embeded in-memory database (like Maxmind) that needs to be refreshed often (daily or more often) would require interruption of the execution environment. In this case reloading the config would restart/interrupt only queries with the UDF in them.

Contributor guide

Open the contributing guide

Research direction

Start by investigating the UDF configuration and lifecycle in the KSQL server environment, focusing on how configuration changes currently trigger a restart. Define the reload behavior so only queries using the changed UDF are interrupted while other running queries continue; the issue names no files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
stream-processing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.