fix missing columns in getPageview CH. fix Kafka SSL Pathing
parent
ad1eea98b1
commit
9c642a6e9e
|
@ -38,3 +38,6 @@ yarn-error.log*
|
||||||
|
|
||||||
*.dev.yml
|
*.dev.yml
|
||||||
|
|
||||||
|
# cert
|
||||||
|
/lib/cert
|
||||||
|
|
||||||
|
|
|
@ -15,9 +15,9 @@ function getClient() {
|
||||||
? {
|
? {
|
||||||
ssl: {
|
ssl: {
|
||||||
checkServerIdentity: () => undefined,
|
checkServerIdentity: () => undefined,
|
||||||
ca: [fs.readFileSync('./cert/ca_cert.pem', 'utf-8')],
|
ca: [fs.readFileSync('./lib/cert/ca_cert.pem', 'utf-8')],
|
||||||
key: fs.readFileSync('./cert/client_key.pem', 'utf-8'),
|
key: fs.readFileSync('./lib/cert/client_key.pem', 'utf-8'),
|
||||||
cert: fs.readFileSync('./cert/client_cert.pem', 'utf-8'),
|
cert: fs.readFileSync('./lib/cert/client_cert.pem', 'utf-8'),
|
||||||
},
|
},
|
||||||
sasl: {
|
sasl: {
|
||||||
mechanism: 'plain',
|
mechanism: 'plain',
|
||||||
|
|
|
@ -27,9 +27,8 @@ async function relationalQuery(websites, start_at) {
|
||||||
async function clickhouseQuery(websites, start_at) {
|
async function clickhouseQuery(websites, start_at) {
|
||||||
return clickhouse.rawQuery(
|
return clickhouse.rawQuery(
|
||||||
`select
|
`select
|
||||||
view_id,
|
|
||||||
website_id,
|
website_id,
|
||||||
session_id,
|
session_uuid,
|
||||||
created_at,
|
created_at,
|
||||||
url
|
url
|
||||||
from event
|
from event
|
||||||
|
|
Loading…
Reference in New Issue