Skip to content

Commit

Permalink
add rate_limit
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan committed Mar 6, 2024
1 parent de217fd commit cf50aa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion proto/stream_plan.proto
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ message SourceBackfillNode {
string source_name = 8;
map<string, string> with_properties = 6;
// Streaming rate limit
// optional uint32 rate_limit = 9;
optional uint32 rate_limit = 9;

// fields above are the same as StreamSource

Expand Down
2 changes: 1 addition & 1 deletion src/stream/src/from_proto/source_backfill.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl ExecutorBuilder for KafkaBackfillExecutorBuilder {

let source_ctrl_opts = SourceCtrlOpts {
chunk_size: params.env.config().developer.chunk_size,
rate_limit: None,
rate_limit: node.rate_limit,
};

let source_column_ids: Vec<_> = source_desc_builder
Expand Down

0 comments on commit cf50aa0

Please sign in to comment.