[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eManagedKafkaLimitedErrorCountRetryPolicy\u003c/code\u003e class, which is part of the Google Cloud C++ client library for Managed Kafka, with the latest version being \u003ccode\u003e2.37.0-rc\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eManagedKafkaLimitedErrorCountRetryPolicy\u003c/code\u003e class defines a retry mechanism for \u003ccode\u003eManagedKafkaConnection\u003c/code\u003e that stops retrying if there is a non-transient error or if the number of transient errors exceeds a predefined limit, where \u003ccode\u003ekUnavailable\u003c/code\u003e is considered a transient error.\u003c/p\u003e\n"],["\u003cp\u003eYou can create an instance of \u003ccode\u003eManagedKafkaLimitedErrorCountRetryPolicy\u003c/code\u003e by specifying the \u003ccode\u003emaximum_failures\u003c/code\u003e parameter, which dictates how many transient errors are allowed before retries stop; setting it to 0 disables retries.\u003c/p\u003e\n"],["\u003cp\u003eThe policy includes methods to check for permanent failures (\u003ccode\u003eIsPermanentFailure\u003c/code\u003e), determine if retries are exhausted (\u003ccode\u003eIsExhausted\u003c/code\u003e), and define behavior on failures (\u003ccode\u003eOnFailure\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eclone\u003c/code\u003e method creates a new instance of the policy, reset to its initial state, and there are also constructors and accessors available to copy and get the current maximum failure settings respectively.\u003c/p\u003e\n"]]],[],null,[]]