Skip to content

feat(issueless events): Make eventstream work without groups#13888

Merged
fpacifici merged 2 commits intomasterfrom
feat/issueless_event_stream
Jul 9, 2019
Merged

feat(issueless events): Make eventstream work without groups#13888
fpacifici merged 2 commits intomasterfrom
feat/issueless_event_stream

Conversation

@fpacifici
Copy link
Contributor

Prevents eventstream to fail if event.group is none and convert the group_id from None to 0 before storing in clickhouse since group_id is non Nullable in clickhouse and we do not want to make it nullable.

@fpacifici fpacifici requested review from mitsuhiko and untitaker July 3, 2019 07:30
self.kafka_eventstream = KafkaEventStream()
self.kafka_eventstream.producer = Mock()

def __build_event(self, timestamp):
Copy link
Member

Choose a reason for hiding this comment

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

What determines whether or not a method uses one or two _?

Copy link
Contributor

Choose a reason for hiding this comment

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

__ gets name mangling applied, _ doesn't. We have no consistent policy on that but __ definitely means: do not override in subclasses.

Copy link
Member

@markstory markstory Jul 3, 2019

Choose a reason for hiding this comment

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

Totally forgot that python did that. 😊

@fpacifici fpacifici force-pushed the feat/skip_group_creation branch from 0286c4e to 0732902 Compare July 3, 2019 16:22
@fpacifici fpacifici changed the base branch from feat/skip_group_creation to master July 3, 2019 20:07
@fpacifici fpacifici force-pushed the feat/issueless_event_stream branch from 0d87133 to bd67d21 Compare July 3, 2019 20:11
@fpacifici fpacifici force-pushed the feat/issueless_event_stream branch from bd67d21 to a6b488a Compare July 9, 2019 17:11
@fpacifici
Copy link
Contributor Author

Removed the explicit 0 in the eventstream, and rebased

@fpacifici fpacifici merged commit 0ddb6e2 into master Jul 9, 2019
@fpacifici fpacifici deleted the feat/issueless_event_stream branch July 9, 2019 17:31
jan-auer added a commit that referenced this pull request Jul 9, 2019
* master:
  chore: Fix typo errywhere -> everywhere (#13934)
  ref: (Django 1.9) Bump djangorestframework to 3.0.5 as an intermediate step to get to 3.3.x
  feat(issueless events): Test eventstream work without groups (#13888)
  ref: Improve repr of User (#13896)
  feat(loader): Make the default for new js projects v5 of js sdk (#13327)
  build: Remove browser-reload flag (#13918)
  ref(ui): Consolidate server frontend hydration logic (#13868)
  ref: Refactor user reports to not use Postgres Event (#13904)
  Test/integration acceptance tests (#13895)
  feat: Remove ts-jest (#13846)
  obs(sentry_apps): Add a small metrics increment on processing resource changes. (#13897)
  enable testing for all orgs (#13903)
  ref: Update Python SDK to 0.10.0 (#13911)
  fix: Do not suggest Sentry.Extensions.Logging when ASP.NET Core is used (#13891)
  Update license year to 2019
  ci(travis): Move docker-sentry builds to Dockes Hub autobuild (#13901)
  ref(app-platform): Add integration features to SentryAppDetailsModal (#13393)
  chore(ui) Rename OrganizationStream to IssueList (#13892)
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants