node.js version upgrade
This commit is contained in:
parent
ece22fcf46
commit
e1399e612c
|
@ -3,7 +3,6 @@ const taos = require("@tdengine/websocket");
|
||||||
|
|
||||||
let dsn = 'ws://localhost:6041';
|
let dsn = 'ws://localhost:6041';
|
||||||
async function createConnect() {
|
async function createConnect() {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
let conf = new taos.WSConfig(dsn);
|
let conf = new taos.WSConfig(dsn);
|
||||||
conf.setUser('root');
|
conf.setUser('root');
|
||||||
|
|
|
@ -10,7 +10,6 @@ const groupId = "group1";
|
||||||
const clientId = "client1";
|
const clientId = "client1";
|
||||||
|
|
||||||
async function createConsumer() {
|
async function createConsumer() {
|
||||||
|
|
||||||
let groupId = "group1";
|
let groupId = "group1";
|
||||||
let clientId = "client1";
|
let clientId = "client1";
|
||||||
let configMap = new Map([
|
let configMap = new Map([
|
||||||
|
|
Loading…
Reference in New Issue