Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 rebased #220

Draft
wants to merge 40 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
0df10b4
Remove Phobos references
dorner May 31, 2024
6166045
Add Deimos::Logging
dorner May 31, 2024
dfbf84b
Remove features no longer used
dorner May 31, 2024
7b9dbba
Introduce Karafka routing features and update configuration
dorner May 31, 2024
0384a35
Use MissingImplementationError instead of NotImplementedError
dorner May 31, 2024
7e84e8a
Move instrumentation to Karafka
dorner May 31, 2024
250df19
Additional schema-related changes
dorner May 31, 2024
b339b58
Metrics changes
dorner May 31, 2024
c33168e
Remaining consumer flow
dorner May 31, 2024
eb34830
Remaining producer flow
dorner May 31, 2024
51b9571
Rename DB backend to Outbox backend
dorner May 31, 2024
ee9906f
Deprecate remaining config
dorner May 31, 2024
1d6ebdb
Revamped test helpers and basic specs
dorner May 31, 2024
4d25257
Consumer specs
dorner May 31, 2024
190bd8d
Producer and remaining specs
dorner May 31, 2024
bb4d369
V2 generator
dorner May 31, 2024
b6449db
Docs
dorner May 31, 2024
b559f94
bump fig_tree version
dorner May 31, 2024
3834a85
Use redraw
dorner Nov 29, 2024
5abd5b2
remove this - will be added to Karafka
dorner Nov 29, 2024
faa642e
version bump
dorner Nov 29, 2024
6fe16d5
Various testing and other fixes
dorner Dec 5, 2024
1721ea8
version bump
dorner Dec 5, 2024
bec0a4d
fix tagged logging
dorner Dec 10, 2024
69e4710
bump version
dorner Dec 10, 2024
ac80a0d
fix kafka in routing defaults
dorner Dec 11, 2024
f1a714c
oops
dorner Dec 11, 2024
9170520
Fix setup calls
dorner Dec 11, 2024
c7a818f
First beta version!
dorner Dec 12, 2024
76b1174
generator fixes & batch consumption fix
dorner Dec 13, 2024
8484804
version bump
dorner Dec 13, 2024
a1f2188
fix for undecoded payloads
dorner Jan 14, 2025
5958e18
bump version
dorner Jan 14, 2025
5445d50
Don't try to generate payload if producer is disabled
dorner Jan 30, 2025
e91b806
Don't crash if name is nil (e.g. abstract class)
dorner Feb 12, 2025
b17e31c
Fix logging keys
dorner Feb 19, 2025
a5e8b40
Fix crash with logging encoded keys/payloads
dorner Feb 24, 2025
feb4c7f
bump version
dorner Feb 24, 2025
a643915
Alias eql? to :== in Deimos::SchemaClass::Base. This fixes a bug when…
harsha-flipp Feb 26, 2025
687f55b
Bump version
dorner Feb 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ Lint/UselessAssignment:
Metrics/AbcSize:
Exclude:
- 'lib/deimos/active_record_consume/message_consumption.rb'
- 'lib/deimos/config/phobos_config.rb'
- 'lib/deimos/instrumentation.rb'
- 'lib/deimos/kafka_source.rb'
- 'lib/deimos/kafka_topic_info.rb'
Expand All @@ -159,12 +158,6 @@ Metrics/AbcSize:
- 'lib/deimos/utils/schema_controller_mixin.rb'
Copy link
Collaborator

Choose a reason for hiding this comment

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

inline_consumer and schema_controller_mixin can be removed as the files are removed in the PR.

    - 'lib/deimos/utils/inline_consumer.rb'
    - 'lib/deimos/utils/schema_controller_mixin.rb'

- 'lib/generators/deimos/schema_class_generator.rb'

# Offense count: 1
# Configuration parameters: CountComments, Max, CountAsOne, ExcludedMethods.
Metrics/MethodLength:
Exclude:
- 'lib/deimos/config/phobos_config.rb'

# Offense count: 5
# Configuration parameters: CountComments, Max, CountAsOne.
Metrics/ModuleLength:
Expand All @@ -179,7 +172,6 @@ Metrics/ModuleLength:
# Configuration parameters: IgnoredMethods, Max.
Metrics/PerceivedComplexity:
Exclude:
- 'lib/deimos/config/phobos_config.rb'
- 'lib/deimos/consume/batch_consumption.rb'
- 'lib/deimos/kafka_source.rb'
- 'lib/deimos/schema_backends/avro_schema_coercer.rb'
Expand Down Expand Up @@ -253,7 +245,6 @@ Style/FrozenStringLiteralComment:
Style/GlobalStdStream:
Exclude:
- 'lib/deimos/config/configuration.rb'
- 'lib/deimos/config/phobos_config.rb'
- 'lib/deimos/metrics/mock.rb'
- 'lib/deimos/test_helpers.rb'
- 'lib/deimos/tracing/mock.rb'
Expand Down Expand Up @@ -329,14 +320,6 @@ Style/StringLiterals:
- 'spec/schemas/my_namespace/my_schema_with_complex_type.rb'
- 'spec/spec_helper.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
Style/TernaryParentheses:
Exclude:
- 'lib/deimos/config/phobos_config.rb'

# Offense count: 21
# Cop supports --auto-correct.
Style/TrailingBodyOnModule:
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby 3.2.2
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## UNRELEASED
- Feature: Added `max_batch_size` config to producer to allow custom batch size for publishing.

## 2.0.0 - TBA
- Full rewrite of Deimos to work with Karafka. Please see [Upgrading](./docs/UPGRADING.md) for full information.

# 1.24.3 - 2024-05-13
- Feature: Enable `producers.persistent_connections` phobos setting
Expand Down
Loading
Loading