@vulcan-sql/extension-driver-ksqldb
Version:
ksqlDB driver for VulcanSQL
32 lines (31 loc) • 863 B
TypeScript
import * as Docker from 'dockerode';
import { RestfulClient } from '../src/lib/restfulClient';
/**
* KsqlDb Server in docker
* table: users (id Int32, name String, enabled Boolean)
* rows: 200 rows.
*/
export declare class KSqlDbServer {
readonly port = "8088";
readonly host = "localhost";
readonly image = "confluentinc/ksqldb-server:0.29.0";
readonly username = "admin";
readonly password = "admin123";
container?: Docker.Container;
client?: RestfulClient;
prepare(): Promise<void>;
start(): Promise<void>;
stop(): Promise<void>;
destroy(): Promise<void>;
getProfile(name: string): {
name: string;
type: string;
connection: {
host: string;
username: string;
password: string;
};
allow: string;
};
private waitKSqlDbReady;
}