troubleshooting

How to avoid crashing RW server when using empty Kafka topics in 0.19.1?

I encountered a problem with empty Kafka topics in RW 0.19.1 causing the server to crash. The provided workaround involves creating a source and then a table, but it results in an RW crash. What is the correct approach to avoid this crash?

Ra

Ralph Matthias Debusmann

Asked on Jun 23, 2023

To avoid crashing the RW server when using empty Kafka topics in 0.19.1, you should use CREATE MATERIALIZED VIEW table AS SELECT anything FROM source; instead of CREATE TABLE table AS SELECT anything FROM source;. The semantics of CREATE MATERIALIZED VIEW are different and it is a streaming query that works normally. This issue has been identified as a bug and will be fixed in a future release.

Jun 24, 2023Edited by