Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Kafka ingest: commit offset only after the TRoE write succeeds #1968
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
Uh oh!
There was an error while loading. Please reload this page.
Kafka ingest: commit offset only after the TRoE write succeeds #1968
Changes from 9 commits
91c98cf8662fabb0f63333783b0ff5263b2c9b0e1cf111a57215f15d4d9a42d96926cd8068dea7ce857bcb41136File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check failure on line 263 in src/app/orionld/orionld.cpp
Global variables should be const.
Check failure on line 380 in src/app/orionld/orionld.cpp
Replace this macro by "const", "constexpr" or an "enum".
Check warning on line 503 in src/lib/orionld/common/orionldState.h
Use "std::string" instead of a C-style char array.
Check failure on line 650 in src/lib/orionld/common/orionldState.h
Global variables should be const.
Check warning on line 25 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Remove the commented out code.
Check warning on line 32 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Remove the commented out code.
Check warning on line 45 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Use "std::string" instead of a C-style char array.
Check failure on line 45 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Global variables should be const.
Check warning on line 69 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Use "std::string" instead of a C-style char array.
Check failure on line 151 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Use the "nullptr" literal.
Check failure on line 152 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Use the "nullptr" literal.
Check warning on line 160 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Make sure use of "strlen" is safe here.
Check failure on line 161 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Use the "nullptr" literal.
Check warning on line 161 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Make sure use of "strlen" is safe here.
Check warning on line 162 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Replace the redundant type with "auto".
Check warning on line 162 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Make sure use of "strlen" is safe here.
Check warning on line 162 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Make sure use of "strlen" is safe here.
Check failure on line 165 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Use the "nullptr" literal.
Check warning on line 171 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Use "std::format" or "std::format_to_n" instead of "snprintf".
Check warning on line 176 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Convert this string literal to a raw string literal.
Check warning on line 176 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Use "std::format" or "std::format_to_n" instead of "snprintf".
Check warning on line 184 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Use "std::format" or "std::format_to_n" instead of "snprintf".
Check failure on line 201 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Remove this use of "free".
Check warning on line 219 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Replace the redundant type with "auto".
Check failure on line 219 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Remove this use of "malloc".
Check warning on line 220 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Replace the redundant type with "auto".
Check failure on line 224 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Remove this use of "free".
Check failure on line 225 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Remove this use of "free".
Check failure on line 242 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Remove this use of "free".
Check failure on line 243 in src/lib/orionld/kafka/kafkaAckProducer.cpp
Remove this use of "free".
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.