-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #405 from machbase/779-mqttnats-bridge-subscriber
779 mqttnats bridge subscriber
- Loading branch information
Showing
29 changed files
with
1,340 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/** SELECTE */ | ||
export const SELECTE_TYPE = ['SQLite', 'PostgreSql', 'Mysql', 'MSSQL', 'MQTT']; | ||
export const SELECTE_TYPE = ['SQLite', 'PostgreSql', 'Mysql', 'MSSQL', 'MQTT', 'NATS']; | ||
export const SUBSCRIBER_TYPE = ['mqtt', 'nats']; | ||
|
||
/** HINT */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/** TABLE */ | ||
export const SUBR_OPTIONS_TABLE = { | ||
columns: ['Name', 'Default', 'Description'], | ||
rows: [ | ||
['timeformat ', 'ns', 'Time format: s, ms, us, ns'], | ||
['tz', 'UTC', 'Time Zone: UTC, Local and location spec'], | ||
['delimiter', ',', 'CSV delimiter, ignored if content is not csv'], | ||
['heading', 'false', 'If CSV contains header line, set true to skip the first line'], | ||
], | ||
}; | ||
export const SUBR_OPTIONS_EXAMPLE_TABLE = { | ||
columns: ['', ''], | ||
rows: [['db/append/EXAMPLE:csv?timeformat=s&heading=true'], ['db/write/EXAMPLE:csv:gzip?timeformat=s'], ['db/append/EXAMPLE:json?timeformat=2&pendingMsgLimit=1048576']], | ||
}; | ||
export const SUBR_METHOD_TABLE = { | ||
columns: ['', '', ''], | ||
rows: [ | ||
['append', 'writing data in append mode'], | ||
['write', 'writing data with INSERT sql statement'], | ||
], | ||
}; | ||
export const SUBR_FORMAT_TABLE = { | ||
columns: ['', '', ''], | ||
rows: [ | ||
['json', '(default)'], | ||
['csv', ''], | ||
], | ||
}; | ||
export const SUBR_TQL_SCRIPT_TABLE = { | ||
columns: ['NAME', 'BRIDGE', 'TOPIC', 'DESTINATION', 'AUTOSTART', 'STATE'], | ||
rows: [['NATS_SUBR', 'my_nats', 'test.topic', '/test.tql', 'true', 'RUNNING']], | ||
}; |
Oops, something went wrong.