Closed ilselintp closed 9 months ago
Please check https://github.com/timeplus-io/proton/issues/335, you will need to set the message.max.bytes
or use on_message_per_row
setting.
And in your case, you probably need to set one_message_per_row
to true
to make it work. This is not a bug, this is how it works, because without on_message_per_row
the whole chunk will be sent as one single message (because you have only one partition).
I create a MATERIALIZED VIEW to get the results of tow changelog streaming join and write the results into kafka. But it can not be written into Kafka topic because the Message size of proton is too large and the mv also can not run. The rows of EDC_ITEM_TABLE is 3000 and the rows of EDC_CRF_DATA_TIME_TABLE is 600. Here are the two streams: Here is the streams information:
Error.log: 2023.12.03 04:39:06.906057 [ 758 ] {} StorageMaterializedView (default.etl_data_combine): CANNOT_WRITE_TO_KAFKA: Wait for 39th recovering background pipeline of matierialized view 'default.etl_data_combine'. Background runtime error: Cannot write to kafka topic at offset 2097152, error: Broker: Message size too large (Background status: EXECUTING_PIPELINE)
2023.12.03 04:39:12.930590 [ 758 ] {} StorageMaterializedView (default.etl_data_combine): CANNOT_WRITE_TO_KAFKA: Wait for 40th recovering background pipeline of matierialized view 'default.etl_data_combine'. Background runtime error: Cannot write to kafka topic at offset 2097152, error: Broker: Message size too large (Background status: EXECUTING_PIPELINE)
2023.12.03 04:39:18.954028 [ 758 ] {} StorageMaterializedView (default.etl_data_combine): CANNOT_WRITE_TO_KAFKA: Wait for 41th recovering background pipeline of matierialized view 'default.etl_data_combine'. Background runtime error: Cannot write to kafka topic at offset 2097152, error: Broker: Message size too large (Background status: EXECUTING_PIPELINE)
2023.12.03 04:39:24.975121 [ 758 ] {} StorageMaterializedView (default.etl_data_combine): CANNOT_WRITE_TO_KAFKA: Wait for 42th recovering background pipeline of matierialized view 'default.etl_data_combine'. Background runtime error: Cannot write to kafka topic at offset 2097152, error: Broker: Message size too large (Background status: EXECUTING_PIPELINE)
2023.12.03 04:39:30.989224 [ 758 ] {} StorageMaterializedView (default.etl_data_combine): CANNOT_WRITE_TO_KAFKA: Wait for 43th recovering background pipeline of matierialized view 'default.etl_data_combine'. Background runtime error: Cannot write to kafka topic at offset 2097152, error: Broker: Message size too large (Background status: EXECUTING_PIPELINE)
2023.12.03 04:39:37.004406 [ 758 ] {} StorageMaterializedView (default.etl_data_combine): CANNOT_WRITE_TO_KAFKA: Wait for 44th recovering background pipeline of matierialized view 'default.etl_data_combine'. Background runtime error: Cannot write to kafka topic at offset 2097152, error: Broker: Message size too large (Background status: EXECUTING_PIPELINE)
2023.12.03 04:39:43.018830 [ 758 ] {} StorageMaterializedView (default.etl_data_combine): CANNOT_WRITE_TO_KAFKA: Wait for 45th recovering background pipeline of matierialized view 'default.etl_data_combine'. Background runtime error: Cannot write to kafka topic at offset 2097152, error: Broker: Message size too large (Background status: EXECUTING_PIPELINE)
2023.12.03 04:39:49.040310 [ 758 ] {} StorageMaterializedView (default.etl_data_combine): CANNOT_WRITE_TO_KAFKA: Wait for 46th recovering background pipeline of matierialized view 'default.etl_data_combine'. Background runtime error: Cannot write to kafka topic at offset 2097152, error: Broker: Message size too large (Background status: EXECUTING_PIPELINE)
2023.12.03 04:39:55.066375 [ 758 ] {} StorageMaterializedView (default.etl_data_combine): CANNOT_WRITE_TO_KAFKA: Wait for 47th recovering background pipeline of matierialized view 'default.etl_data_combine'. Background runtime error: Cannot write to kafka topic at offset 2097152, error: Broker: Message size too large (Background status: EXECUTING_PIPELINE)
2023.12.03 04:40:01.087715 [ 758 ] {} StorageMaterializedView (default.etl_data_combine): CANNOT_WRITE_TO_KAFKA: Wait for 48th recovering background pipeline of matierialized view 'default.etl_data_combine'. Background runtime error: Cannot write to kafka topic at offset 2097152, error: Broker: Message size too large (Background status: EXECUTING_PIPELINE)
2023.12.03 04:40:07.124643 [ 758 ] {} StorageMaterializedView (default.etl_data_combine): CANNOT_WRITE_TO_KAFKA: Wait for 49th recovering background pipeline of matierialized view 'default.etl_data_combine'. Background runtime error: Cannot write to kafka topic at offset 2097152, error: Broker: Message size too large (Background status: EXECUTING_PIPELINE)
2023.12.03 04:40:13.175475 [ 758 ] {} StorageMaterializedView (default.etl_data_combine): CANNOT_WRITE_TO_KAFKA: Wait for 50th recovering background pipeline of matierialized view 'default.etl_data_combine'. Background runtime error: Cannot write to kafka topic at offset 2097152, error: Broker: Message size too large (Background status: EXECUTING_PIPELINE)
Kafka settings: max.message.bytes 10240000
Additional context