Skip to content

feat(notification-center): Add LogEvent notification - #213

Merged
Ali Abbas Rizvi (aliabbasrizvi) merged 103 commits into
masterfrom
mnoman/log_event_notification
Oct 7, 2019
Merged

Ali Abbas Rizvi (aliabbasrizvi) merged 103 commits into
masterfrom
mnoman/log_event_notification

Conversation

@oakbani

@oakbani Owais Akbani (oakbani) commented Oct 4, 2019 •

Copy link
Copy Markdown
Contributor

Summary

This is a replica of #204.

Test plan

Added unit test

mjamal@folio3.com and others added 30 commits July 19, 2019 12:16
Summary
-------

- Introduces an EventProcessor interface.
- Introduces a BatchEventProcessor

Buffering events within a queue before dispatching is an optimization that should prevent SDK implementations from exhausting resources while increasing throughput. This implementation relies on a BlockingCollection to buffer events received from one-to-many producers. A single consumer thread continuously polls from this queue to build a batch before emitting the batched LogEvent.

Test plan
---------

- Added unit tests.
# Conflicts:
#	optimizely/event/entity/conversion_event.py
#	optimizely/event/entity/decision.py
#	optimizely/event/entity/event_context.py
#	optimizely/event/entity/impression_event.py
# Conflicts:
#	optimizely/event/entity/user_event.py
#	optimizely/event/entity/visitor.py

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.01%) to 97.689% when pulling 6f84f08 on mnoman/log_event_notification into ec67224 on master.

3 similar comments
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.01%) to 97.689% when pulling 6f84f08 on mnoman/log_event_notification into ec67224 on master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.01%) to 97.689% when pulling 6f84f08 on mnoman/log_event_notification into ec67224 on master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.01%) to 97.689% when pulling 6f84f08 on mnoman/log_event_notification into ec67224 on master.

@coveralls

Coveralls (coveralls) commented Oct 4, 2019 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.07%) to 97.748% when pulling 6f84f08 on mnoman/log_event_notification into ec67224 on master.

@oakbani
Owais Akbani (oakbani) deleted the mnoman/log_event_notification branch October 24, 2019 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants