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
N1 Expected operator*/operator-> are not UB on an error: operator* is
noexcept + std::get so it terminates; operator-> returns nullptr. Correct
the docs to say so.
N2 Drop redundant unit prose ("in milliseconds"/"in seconds") from
std::chrono fields/params in Policies, Consumer (AckPolicy) and the
sendTimeout setter; the type already states the unit. (ProducerConfig's
int64 sendTimeoutMs keeps its "milliseconds" note - it is not a chrono type.)
N3 decodeBigEndian: replace the dead `i < data.size()` guard (all codecs
length-check first) with an assert of that precondition.
N4 ProtobufNativeSchema: guard the size_t->int narrowing in encode/decode,
rejecting messages larger than INT_MAX instead of passing a wrapped size.
N5 OutgoingMessage: one-line note for the usesView<->payloadView invariant.
N7 Wrap the SerDeFor concept in clang-format off/on so clang-format-11 stops
mangling the `{ expr } -> Concept;` compound requirements.
N6 Normalize config-struct field docs to the dominant /** */-before style
(OutgoingMessage, CheckpointConsumerConfig, Stream/QueueConsumerConfig);
enum-value ///< trailing docs are left as-is.
Verified: clang-format-11 clean; examples compile (clang); N3 runtime test
and N4 (protobuf stub) pass on clang and gcc.
Signed-off-by: Matteo Merli <mmerli@apache.org>
0 commit comments