Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoff committed Oct 8, 2020
1 parent 76f9fb1 commit 4e3b321
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions test/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import (
)

const ksqlDBServer string = "http://localhost:8088"
const ksqlDBUser string = ""
const ksqlDBPW string = ""

func main() {

Expand Down
6 changes: 4 additions & 2 deletions test/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ import (
)

func setup() (*ksqldb.Client, error) {
//create ksqldb client
client := ksqldb.NewClient(ksqlDBServer).Debug()

//create ksqlDB client
client := ksqldb.NewClient(ksqlDBServer, ksqlDBUser, ksqlDBPW).Debug()

// Create the dummy data connector
if err := client.Execute(`
CREATE SOURCE CONNECTOR DOGS WITH (
Expand Down

0 comments on commit 4e3b321

Please sign in to comment.