Commit graph

7 commits

Author SHA1 Message Date
MauricioGarciaS
28182b951e
Redshift connector (#1170)
* Updated dependancies for redshift connector, changed os module for python-decouple module

* Updated service and images

* Updated message protocol, added exception for BatchMetadata when version is 0 (we apply old read method)

* fixed load error from s3 to redshift. null values for string columns are now empty strings ("")

* Added file test consumer_async.py: reads every 3 minutes kafka raw and send task in background to upload to cloud

* Added method to skip messages that are not inserted to cloud

* Added logs into consumer_async. Changed urls and issues in sessions table from list to string

* Split between messages for sessions table and for events table

* Updated redshift tables

* Fixed small issue in query redshift_sessions.sql

* Updated Dockerfiles. Cleaned logs of consumer_async. Updated/Fixed tables. Transformed Nan as NULL for VARCHAR columns

* Added error handler for sql dropped connection

* chore(docker): Optimize docker builds

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* Variables renamed

* Adding compression libraries

* Set default value of count events to 0 (instead of NULL) when event did not occur

* Added support specific  project tracking. Added PG handler to connect to sessions table

* Added method to update values in db connection for sessions ended and restarted

* Removing intelligent file copying

* chore(connector): Build file

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* Adding connection pool for pg

* Renaming and optimizing

* Fixed issue of missing information of sessions

---------

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
Co-authored-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-05-02 14:02:57 +02:00
mauricio garcia suarez
846c167db3 added BatchMetadata and handle the new message format within it 2022-08-25 12:10:45 +02:00
mauricio garcia suarez
3381e3a081 New message with batchsize 2022-08-24 14:55:10 +02:00
mauricio garcia suarez
b446147cb8 solved some minor issues 2022-07-15 17:12:22 +02:00
mauricio garcia suarez
c271a0b64e Solved some properties issues 2022-07-13 12:39:55 +02:00
mauricio garcia suarez
d578f5e097 Updated messages methods. New values: - [x] IOSIssueEvent (111)
- [x] IOSBatchMeta (107)
- [x] IOSNetworkCall (105)
- [x] IOSPerformanceEvent (102)
- [x] IOSInputEvent (101)
- [x] IOSClickEvent (100)
- [x] IOSScreenEnter (98)
- [x] IOSCrash (97)
- [x] IOSScreenChanges (96)
- [x] IOSCustomEvent (93)
- [x] CreateIFrameDocument (70)
- [x] CSSInsertRuleURLBased (67)
- [x] AssetCache (66)
- [x] FetchEvent (51)
- [x] MouseClick (69) <- MouseClickDepricated (21)
2022-07-12 12:16:08 +02:00
ourvakan
d3db0c0734 connectors 2021-05-18 17:10:08 +03:00