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