You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove code that is repeated for every signal,
and implement a generic consumer that calls out
to a signal-specific message handler.
We also update all the tests to use kfake rather
than mocks so we're exercising all of the receiver.
These tests are parallelised, so all tests run
faster than before, and with greater coverage.
Finally, we add `max_fetch_wait` (defaults to 250ms)
to the receiver's configuration. This was added for
speeding up the tests, but may also be useful for
users of the receiver.
Copy file name to clipboardExpand all lines: receiver/kafkareceiver/README.md
+1
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,7 @@ The following settings can be optionally configured:
47
47
-`min_fetch_size` (default = `1`): The minimum number of message bytes to fetch in a request, defaults to 1 byte.
48
48
-`default_fetch_size` (default = `1048576`): The default number of message bytes to fetch in a request, defaults to 1MB.
49
49
-`max_fetch_size` (default = `0`): The maximum number of message bytes to fetch in a request, defaults to unlimited.
50
+
-`max_fetch_wait` (default = `250ms`): The maximum amount of time the broker should wait for `min_fetch_size` bytes to be available before returning anyway.
50
51
-`tls`: see [TLS Configuration Settings](https://github.com/open-telemetry/opentelemetry-collector/blob/main/config/configtls/README.md) for the full set of available options.
51
52
-`auth`
52
53
-`plain_text` (Deprecated in v0.123.0: use sasl with mechanism set to PLAIN instead.)
0 commit comments