Skip to content

Commit

Permalink
refactor the indexer grpc system.
Browse files Browse the repository at this point in the history
  • Loading branch information
larry-aptos committed Mar 1, 2023
1 parent a66003c commit 856e1e8
Show file tree
Hide file tree
Showing 31 changed files with 2,003 additions and 750 deletions.
35 changes: 35 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ members = [
"ecosystem/indexer-grpc/indexer-grpc-cache-worker",
"ecosystem/indexer-grpc/indexer-grpc-data-service",
"ecosystem/indexer-grpc/indexer-grpc-file-store",
"ecosystem/indexer-grpc/indexer-grpc-file-store-data-verifier",
"ecosystem/indexer-grpc/indexer-grpc-fullnode",
"ecosystem/indexer-grpc/indexer-grpc-utils",
"ecosystem/node-checker",
Expand Down Expand Up @@ -226,6 +227,7 @@ aptos-indexer-grpc-data-service = { path = "ecosystem/indexer-grpc/indexer-grpc-
aptos-indexer-grpc-file-store = { path = "ecosystem/indexer-grpc/indexer-grpc-file-store" }
aptos-indexer-grpc-fullnode = { path = "ecosystem/indexer-grpc/indexer-grpc-fullnode" }
aptos-indexer-grpc-utils = { path = "ecosystem/indexer-grpc/indexer-grpc-utils" }
aptos-indexer-grpc-file-store-data-verifier = { path = "ecosystem/indexer-grpc/indexer-grpc-file-store-data-verifier" }
aptos-infallible = { path = "crates/aptos-infallible" }
aptos-inspection-service = { path = "crates/inspection-service" }
aptos-jellyfish-merkle = { path = "storage/jellyfish-merkle" }
Expand Down Expand Up @@ -328,7 +330,7 @@ clap = { version = "3.2.17", features = ["derive", "env", "suggestions"] }
clap_complete = "3.2.3"
cloud-storage = { version = "0.11.1", features = ["global-client"] }
codespan-reporting = "0.11.1"
console-subscriber = "0.1.8"
console-subscriber = "0.1.6"
const_format = "0.2.26"
criterion = "0.3.5"
criterion-cpu-time = "0.1.0"
Expand Down Expand Up @@ -426,8 +428,8 @@ quote = "1.0.18"
rand = "0.7.3"
rand_core = "0.5.1"
rayon = "1.5.2"
redis = { version = "0.22.3", features = ["tokio-comp"] }
redis-test = "0.1.0"
redis = { version = "0.22.3", features = ["tokio-comp", "script"] }
redis-test = { version = "0.1.1", features = ["aio"] }
regex = "1.5.5"
reqwest = { version = "0.11.11", features = ["blocking", "cookies", "json", "stream"] }
reqwest-middleware = "0.2.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ message StreamStatus {
message RawDatastreamRequest {
// Required; start version of current stream.
uint64 starting_version = 1;

// Optional; number of transactions to return in current stream.
// If not set, response streams infinitely.
optional uint64 transactions_count = 2;
}

message RawDatastreamResponse {
Expand Down
44 changes: 20 additions & 24 deletions crates/aptos-protos/src/pb/aptos.datastream.v1.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

73 changes: 50 additions & 23 deletions crates/aptos-protos/src/pb/aptos.datastream.v1.serde.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 856e1e8

Please sign in to comment.