You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If the query limit is set to 20, then KSQL only allows executing 19 queries.
To Reproduce
Set the limit to 1 in the ksql-server.properties file:
ksql.query.persistent.active.limit=1
Open the CLI and execute one persistent query (it will fail):
ksql> create stream t1(id int) with (kafka_topic='t1', value_format='json', replicas=1, partitions=1);
Message
----------------
Stream created
----------------
ksql> create stream s1 as select * from t1;
Not executing statement(s) 'create stream s1 as select * from t1;' as it would cause the number of active, persistent queries to exceed the configured limit. Use the TERMINATE command to terminate existing queries, or increase the 'ksql.query.persistent.active.limit' setting via the 'ksql-server.properties' file. Current persistent query count: 1. Configured limit: 1.
Expected behavior
I should be able to execute as many queries as the limit allowed me (1 query in the above example).
The text was updated successfully, but these errors were encountered:
Describe the bug
If the query limit is set to 20, then KSQL only allows executing 19 queries.
To Reproduce
Set the limit to 1 in the ksql-server.properties file:
Open the CLI and execute one persistent query (it will fail):
Expected behavior
I should be able to execute as many queries as the limit allowed me (1 query in the above example).
The text was updated successfully, but these errors were encountered: