Compare commits
3 commits
main
...
update_qui
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5994f5182d | ||
|
|
cbebe80c99 | ||
|
|
90e11028cf |
8 changed files with 11 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
FROM quickwit/quickwit:0.6.4
|
FROM quickwit/quickwit:0.8.0
|
||||||
|
|
||||||
WORKDIR /quickwit
|
WORKDIR /quickwit
|
||||||
|
|
||||||
|
|
@ -18,7 +18,8 @@ ENV filter="true" \
|
||||||
fetch_maxsize=800 \
|
fetch_maxsize=800 \
|
||||||
graphql_maxsize=800 \
|
graphql_maxsize=800 \
|
||||||
pageevent_maxsize=800 \
|
pageevent_maxsize=800 \
|
||||||
QUICKWIT_PORT=7280
|
QUICKWIT_PORT=7280 \
|
||||||
|
QUICKWIT_VERSION=0.8
|
||||||
|
|
||||||
EXPOSE 7281
|
EXPOSE 7281
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ QUICKWIT_PORT = config('QUICKWIT_PORT', default=7280, cast=int)
|
||||||
#decryption = config('encrypted', cast=bool)
|
#decryption = config('encrypted', cast=bool)
|
||||||
decryption = False
|
decryption = False
|
||||||
MessageCodec = None
|
MessageCodec = None
|
||||||
max_retry=3
|
max_retry=2
|
||||||
Fetch, FetchEvent, PageEvent, GraphQ = None, None, None, None
|
Fetch, FetchEvent, PageEvent, GraphQ = None, None, None, None
|
||||||
if decryption:
|
if decryption:
|
||||||
from msgcodec.msgcodec import MessageCodec
|
from msgcodec.msgcodec import MessageCodec
|
||||||
|
|
@ -26,7 +26,7 @@ def _quickwit_ingest(index, data_list, retry=0):
|
||||||
except requests.exceptions.ConnectionError as e:
|
except requests.exceptions.ConnectionError as e:
|
||||||
retry += 1
|
retry += 1
|
||||||
assert retry <= max_retry, f'[ENDPOINT CONNECTION FAIL] Failed to connect to endpoint http://localhost:{QUICKWIT_PORT}/api/v1/{index}/ingest\n{e}\n'
|
assert retry <= max_retry, f'[ENDPOINT CONNECTION FAIL] Failed to connect to endpoint http://localhost:{QUICKWIT_PORT}/api/v1/{index}/ingest\n{e}\n'
|
||||||
sleep(5*retry)
|
sleep(0.25*retry)
|
||||||
print(f"[ENDPOINT ERROR] Failed to connect to endpoint http://localhost:{QUICKWIT_PORT}/api/v1/{index}/ingest, retrying in {5*retry} seconds..\n")
|
print(f"[ENDPOINT ERROR] Failed to connect to endpoint http://localhost:{QUICKWIT_PORT}/api/v1/{index}/ingest, retrying in {5*retry} seconds..\n")
|
||||||
return _quickwit_ingest(index, data_list, retry=retry)
|
return _quickwit_ingest(index, data_list, retry=retry)
|
||||||
return res
|
return res
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
# Index config file for gh-archive dataset.
|
# Index config file for gh-archive dataset.
|
||||||
#
|
#
|
||||||
|
|
||||||
version: 0.6
|
version: {{QUICKWIT_VERSION}}
|
||||||
|
|
||||||
index_id: "fetchevent"
|
index_id: "fetchevent"
|
||||||
index_uri: "s3://openreplay-quickwit/quickwit-indexes/fetchevent"
|
index_uri: "s3://openreplay-quickwit/quickwit-indexes/fetchevent"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
# Index config file for gh-archive dataset.
|
# Index config file for gh-archive dataset.
|
||||||
#
|
#
|
||||||
|
|
||||||
version: 0.6
|
version: {{QUICKWIT_VERSION}}
|
||||||
|
|
||||||
index_id: "graphql"
|
index_id: "graphql"
|
||||||
index_uri: "s3://openreplay-quickwit/quickwit-indexes/graphql"
|
index_uri: "s3://openreplay-quickwit/quickwit-indexes/graphql"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
# Index config file for gh-archive dataset.
|
# Index config file for gh-archive dataset.
|
||||||
#
|
#
|
||||||
|
|
||||||
version: 0.6
|
version: {{QUICKWIT_VERSION}}
|
||||||
|
|
||||||
index_id: "pageevent"
|
index_id: "pageevent"
|
||||||
index_uri: "s3://openreplay-quickwit/quickwit-indexes/pageevent"
|
index_uri: "s3://openreplay-quickwit/quickwit-indexes/pageevent"
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
quickwit run --config=./s3-config-listen.yaml
|
quickwit run --config=./s3-config-listen.yaml 1> /dev/null
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
## In order to save data into S3
|
## In order to save data into S3
|
||||||
# metastore also accepts s3://{bucket/path}#pooling_interval={seconds}s
|
# metastore also accepts s3://{bucket/path}#pooling_interval={seconds}s
|
||||||
version: 0.6
|
version: {{QUICKWIT_VERSION}}
|
||||||
metastore_uri: s3://openreplay-quickwit/quickwit-indexes
|
metastore_uri: s3://openreplay-quickwit/quickwit-indexes
|
||||||
default_index_root_uri: s3://openreplay-quickwit/quickwit-indexes
|
default_index_root_uri: s3://openreplay-quickwit/quickwit-indexes
|
||||||
listen_address: 0.0.0.0
|
listen_address: 0.0.0.0
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
## In order to save data into S3
|
## In order to save data into S3
|
||||||
# metastore also accepts s3://{bucket/path}#pooling_interval={seconds}s
|
# metastore also accepts s3://{bucket/path}#pooling_interval={seconds}s
|
||||||
version: 0.6
|
version: {{QUICKWIT_VERSION}}
|
||||||
metastore_uri: s3://openreplay-quickwit/quickwit-indexes
|
metastore_uri: s3://openreplay-quickwit/quickwit-indexes
|
||||||
default_index_root_uri: s3://openreplay-quickwit/quickwit-indexes
|
default_index_root_uri: s3://openreplay-quickwit/quickwit-indexes
|
||||||
rest_listen_port: {{QUICKWIT_PORT}}
|
rest_listen_port: {{QUICKWIT_PORT}}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue