rimless 3.1.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04bd2f593f37d4f2a3f287654222585ed5f5c902f65d480b1cf402d910e1fd37
4
- data.tar.gz: 1d145a8b9d3004ed637241b37b9a2b3a3c99769d3fa171d5c2df94420783634e
3
+ metadata.gz: e998d6e028c6cfc1661ede44cbe302ad1389a21d1300f1e0380f78e65df27d2a
4
+ data.tar.gz: 8e101b0dc4deecfe313bd7804cac304ecc1386b0b17c1db8898db1517d5dd502
5
5
  SHA512:
6
- metadata.gz: 54d61bd6c58166b90112547553c5a60a1ea660d950f5cb2b1197ce7be531b67741d3a61a178d1708d9e2628a49c69b0cb2b83f71e103606017b8f9f46c3eab74
7
- data.tar.gz: fdc7c2aa547c2aaec4e2cc9cbb505b81d109fecab0f89db00ac9632c000ea9ddddce455d6bebdc64f1757501cd4e7ac4d8bb3b9a80d905d8c253235333c6676c
6
+ metadata.gz: d07a588b59a74984adcfe0d0c31e7c417fc7ee7817d8970a95e1b3d17b8e9e99225e0824793b650cd8828fd31048710f742305064cb01e2ae7750741d86e7e90
7
+ data.tar.gz: 68e2ea87932e37f8a03de78a1725800b77991709a900d03d7b2681aaed93269f7dbe02b93cadbceaade7ddb278b71ecacc975e307a51500b5e79448f18ef934f
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  * TODO: Replace this bullet point with an actual description of a change.
4
4
 
5
+ ### 3.2.0 (7 April 2026)
6
+
7
+ * Restored non-buffered (`$stdout.sync = true`) logging to stdout ([#75](https://github.com/hausgold/rimless/pull/75))
8
+ * Added a section for topic auto-creation on the upgrading guide ([#75](https://github.com/hausgold/rimless/pull/75))
9
+
5
10
  ### 3.1.0 (1 April 2026)
6
11
 
7
12
  * Updated the kafka-playground ([#74](https://github.com/hausgold/rimless/pull/74))
data/UPGRADING.md CHANGED
@@ -16,6 +16,7 @@ upgrading from Rimless 2.9.x to 3.0.
16
16
  - [Offset Management](#offset-management)
17
17
  - [Railtie / Sidekiq Server Initialization](#railtie--sidekiq-server-initialization)
18
18
  - [Anonymous Consumer Classes](#anonymous-consumer-classes)
19
+ - [Topic Auto-Creation](#topic-auto-creation)
19
20
  - [Producer Changes](#producer-changes)
20
21
  - [Testing Changes](#testing-changes)
21
22
  - [Consumer Specs](#consumer-specs)
@@ -341,6 +342,32 @@ Rimless.consumer.topics(
341
342
  The `JobBridge.build` method will raise an `ArgumentError` if an anonymous
342
343
  class is passed.
343
344
 
345
+ ### Topic Auto-Creation
346
+
347
+ Karafka 2 **no longer automatically creates missing topics**. If your
348
+ application relied on Karafka 1's default behavior of creating topics on the
349
+ fly (within the Karafka server/consumer process), you will encounter errors
350
+ like:
351
+
352
+ ```
353
+ [ERROR] Data polling error occurred: Subscribed topic not available:
354
+ production.users-api.properties: Broker: Unknown topic or partition -
355
+ Broker: Unknown topic or partition (unknown_topic_or_part)
356
+ ```
357
+
358
+ Karafka 2 recommends using **Declarative Topics** to manage your topic
359
+ infrastructure. Define your topics in the routing configuration and then run:
360
+
361
+ ```shell
362
+ $ karafka topics migrate
363
+ ```
364
+
365
+ This will create or update topics to match your declared configuration.
366
+
367
+ See:
368
+ - [Infrastructure Topic Auto-Creation](https://karafka.io/docs/Infrastructure-Topic-Auto-Creation/)
369
+ - [Infrastructure Declarative Topics](https://karafka.io/docs/Infrastructure-Declarative-Topics/)
370
+
344
371
  ## Producer Changes
345
372
 
346
373
  The public producer API (`Rimless.message`, `Rimless.async_message`,
@@ -81,6 +81,11 @@ module Rimless
81
81
  end
82
82
  end
83
83
 
84
+ # We configure synchronous logging to stdout as supervising/monitoring
85
+ # processes await logging outputs to detect the Karafka server process
86
+ # is up and running properly
87
+ $stdout.sync = true
88
+
84
89
  # Call the user-configurable block with our configuration
85
90
  # for customizations
86
91
  setup(&Rimless.configuration.consumer_configure)
@@ -4,8 +4,8 @@
4
4
  module Rimless
5
5
  # The version of the +rimless+ gem
6
6
  # TODO: Change back before release.
7
- # VERSION = '3.1.0'
8
- VERSION = '3.1.0'
7
+ # VERSION = '3.2.0'
8
+ VERSION = '3.2.0'
9
9
 
10
10
  class << self
11
11
  # Returns the version of gem as a string.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rimless
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer