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: config/configuration.go
+99-5
Original file line number
Diff line number
Diff line change
@@ -849,6 +849,100 @@ const (
849
849
// Valid Values:
850
850
// - A valid path
851
851
FileLogPathstring="FileLogPath"
852
+
853
+
// SQLLogDriver sets the name of the database driver to use for application logs (see https://go.dev/wiki/SQLDrivers for the list of available drivers).
854
+
// SQLLogDriver is only relevant if also using sql.NewLogFactory(..) in code
855
+
// when creating your LogFactory for your initiator or acceptor.
856
+
//
857
+
// Required: Only if using a sql db as your Log
858
+
//
859
+
// Default: N/A
860
+
//
861
+
// Valid Values:
862
+
// - See https://go.dev/wiki/SQLDrivers
863
+
SQLLogDriverstring="SQLLogDriver"
864
+
865
+
// SQLLogDataSourceName sets the driver-specific data source name of the database to use for application logs.
866
+
// This usually consists of at least a database name and connection information.
867
+
// SQLLogDataSourceName is only relevant if also using sql.NewLogFactory(..) in code
868
+
// when creating your LogFactory for your initiator or acceptor.
869
+
//
870
+
// See https://pkg.go.dev/database/sql#Open for more information.
871
+
//
872
+
// Required: Only if using a sql db as your Log.
873
+
//
874
+
// Default: N/A
875
+
//
876
+
// Valid Values:
877
+
// - A string correspondinng to a datasource
878
+
SQLLogDataSourceNamestring="SQLLogDataSourceName"
879
+
880
+
// SQLLogConnMaxLifetime sets the maximum duration of time that a database connection may be reused.
881
+
// See https://pkg.go.dev/database/sql#DB.SetConnMaxLifetime for more information.
882
+
//
883
+
// If your database server has a config option to close inactive connections after some duration (e.g. MySQL "wait_timeout"),
884
+
// set SQLLogConnMaxLifetime to a value less than that duration.
885
+
//
886
+
// Example Values:
887
+
// - SQLLogConnMaxLifetime=14400s # 14400 seconds
888
+
// - SQLLogConnMaxLifetime=2h45m # 2 hours and 45 minutes
889
+
//
890
+
// SQLLogConnMaxLifetime is only relevant if also using sql.NewLogFactory(..) in code
891
+
// when creating your LogFactory for your initiator or acceptor.
// MongoLogConnection sets the MongoDB connection URL to use for application logs.
902
+
//
903
+
// See https://pkg.go.dev/go.mongodb.org/mongo-driver/mongo#Connect for more information.
904
+
//
905
+
// MongoLogConnection is only relevant if also using mongo.NewLogFactory(..) in code
906
+
// when creating your LogFactory for your initiator or acceptor.
907
+
//
908
+
// Required: Only if using MongoDB as your Log.
909
+
//
910
+
// Default: N/A
911
+
//
912
+
// Valid Values:
913
+
// - A string representing a MongoDB connection
914
+
MongoLogConnectionstring="MongoLogConnection"
915
+
916
+
// MongoLogDatabase sets the MongoDB-specific name of the database to use for application logs.
917
+
//
918
+
// See https://pkg.go.dev/go.mongodb.org/mongo-driver/mongo#Connect for more information.
919
+
//
920
+
// MongoLogDatabase is only relevant if also using mongo.NewLogFactory(..) in code
921
+
// when creating your LogFactory for your initiator or acceptor.
922
+
//
923
+
// Required: Only if using MongoDB as your Log.
924
+
//
925
+
// Default: N/A
926
+
//
927
+
// Valid Values:
928
+
// - A string corresponding to a MongoDB database
929
+
MongoLogDatabasestring="MongoLogDatabase"
930
+
931
+
// MongoLogReplicaSet sets the MongoDB replica set to use for application logs.
932
+
// This is optional.
933
+
//
934
+
// See https://pkg.go.dev/go.mongodb.org/mongo-driver/mongo#Connect for more information.
935
+
//
936
+
// MongoLogReplicaSet is only relevant if also using mongo.NewLogFactory(..) in code
937
+
// when creating your LogFactory for your initiator or acceptor.
938
+
//
939
+
// Required: No
940
+
//
941
+
// Default: N/A
942
+
//
943
+
// Valid Values:
944
+
// - A string corresponding to a MongoDB replica set
945
+
MongoLogReplicaSetstring="MongoLogReplicaSet"
852
946
)
853
947
854
948
const (
@@ -895,7 +989,7 @@ const (
895
989
// - N
896
990
FileStoreSyncstring="FileStoreSync"
897
991
898
-
// SQLStoreDriver sets the name of the database driver to use (see https://go.dev/wiki/SQLDrivers for the list of available drivers).
992
+
// SQLStoreDriver sets the name of the database driver to use for message storage (see https://go.dev/wiki/SQLDrivers for the list of available drivers).
899
993
// SQLStoreDriver is only relevant if also using sql.NewStoreFactory(..) in code
900
994
// when creating your MessageStoreFactory for your initiator or acceptor.
901
995
//
@@ -907,7 +1001,7 @@ const (
907
1001
// - See https://go.dev/wiki/SQLDrivers
908
1002
SQLStoreDriverstring="SQLStoreDriver"
909
1003
910
-
// SQLStoreDataSourceName sets the driver-specific data source name of the database to use.
1004
+
// SQLStoreDataSourceName sets the driver-specific data source name of the database to use for messagge storage.
911
1005
// This usually consists of at least a database name and connection information.
912
1006
// SQLStoreDataSourceName is only relevant if also using sql.NewStoreFactory(..) in code
913
1007
// when creating your MessageStoreFactory for your initiator or acceptor.
0 commit comments