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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## v4.2.0
9
+
10
+
* Added the --cursor-table and --history-table flags to allow running to sinks on the same database (be careful that you have no collision in table names)
11
+
* bumped substreams to v1.8.2, add some default network endpoints
Copy file name to clipboardExpand all lines: cmd/substreams-sink-sql/main.go
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ import (
11
11
. "github.com/streamingfast/cli"
12
12
"github.com/streamingfast/cli/sflags"
13
13
"github.com/streamingfast/dmetrics"
14
+
"github.com/streamingfast/substreams-sink-sql/db"
14
15
"go.uber.org/zap"
15
16
)
16
17
@@ -33,6 +34,8 @@ func main() {
33
34
flags.Duration("delay-before-start", 0, "[Operator] Amount of time to wait before starting any internal processes, can be used to perform to maintenance on the pod before actually letting it starts")
34
35
flags.String("metrics-listen-addr", "localhost:9102", "[Operator] If non-empty, the process will listen on this address for Prometheus metrics request(s)")
35
36
flags.String("pprof-listen-addr", "localhost:6060", "[Operator] If non-empty, the process will listen on this address for pprof analysis (see https://golang.org/pkg/net/http/pprof/)")
37
+
flags.String("cursors-table", "cursors", "[Operator] Name of the table to use for storing cursors")
38
+
flags.String("history-table", "substreams_history", "[Operator] Name of the table to use for storing block history, used to handle reorgs")
0 commit comments