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
I have a basic use case where I'd like to publish all the changes of a given materialized view to a Kafka topic in its Protobuf form. An almost complete list of steps to reproduce the issue is provided below.
I am familiar with the final error message which most likely comes from prost. I believe the input data fed to prost come from this file but I could be wrong.
Error message/log
# Server-side
risingwave-standalone | 2025-04-11T13:28:44.672317165Z INFO rw-acceptor pgwire::pg_server: accept connection peer_addr=127.0.0.1:57956
risingwave-standalone | 2025-04-11T13:28:45.8768341Z ERROR rw-standalone-meta bootstrap_recovery: risingwave_meta::rpc::ddl_controller: failed to create streaming job id=123 error=failed to validate sink: config error: cannot build descriptor pool from schema `file:///opt/protocol/a.proto`: failed to decode file descriptor set: failed to decode Protobuf message: invalid wire type value: 7
risingwave-standalone | 2025-04-11T13:28:45.881568146Z WARN rw-standalone-meta bootstrap_recovery: risingwave_meta::rpc::ddl_controller: aborted streaming job id=123
risingwave-standalone | 2025-04-11T13:28:45.882136502Z ERROR rw-standalone-frontend handle_query{mode="simple query" session_id=9 sql=CREATE SINK example_mv_kafka FROM example_mv_pb WITH (connector = 'kafka', properties.bootstrap.server = 'localhost:9092', topic = 'example') FORMAT PLAIN ENCODE PROTOBUF (message = 'proto.Example', schema.location = 'file:///opt/protocol/a.proto', force_append_only = 'true')}: pgwire::pg_protocol: error when process message error=Failed to run the query: gRPC request to meta service (call `/ddl_service.DdlService/CreateSink`) failed: Internal error: failed to validate sink: config error: cannot build descriptor pool from schema `file:///opt/protocol/a.proto`: failed to decode file descriptor set: failed to decode Protobuf message: invalid wire type value: 7
# Client-side (psql)
DROP_MATERIALIZED_VIEW
CREATE_MATERIALIZED_VIEW
column_name | data_type
-------------+-------------------
id | character varying
(1 row)
ERROR: Failed to run the query
Caused by these errors (recent errors listed first):
1: gRPC request to meta service (call `/ddl_service.DdlService/CreateSink`) failed: Internal error
2: failed to validate sink
3: config error
4: cannot build descriptor pool from schema `file:///opt/protocol/a.proto`
5: failed to decode file descriptor set
6: failed to decode Protobuf message: invalid wire type value: 7
To Reproduce
Populate $PWD/protocol/a.proto with the following content.
Describe the bug
Hi,
I have a basic use case where I'd like to publish all the changes of a given materialized view to a Kafka topic in its Protobuf form. An almost complete list of steps to reproduce the issue is provided below.
I am familiar with the final error message which most likely comes from
prost
. I believe the input data fed toprost
come from this file but I could be wrong.Error message/log
To Reproduce
$PWD/protocol/a.proto
with the following content.Expected behavior
I expected this to happen:
example_mv
rows.example
.How did you deploy RisingWave?
The version of RisingWave
Additional context
No response
The text was updated successfully, but these errors were encountered: