[ https://issues.apache.org/jira/browse/KAFKA-15892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Egerton resolved KAFKA-15892. ----------------------------------- Fix Version/s: 4.0.0 Resolution: Fixed > Flaky test: testAlterSinkConnectorOffsets – > org.apache.kafka.connect.integration.OffsetsApiIntegrationTest > ---------------------------------------------------------------------------------------------------------- > > Key: KAFKA-15892 > URL: https://issues.apache.org/jira/browse/KAFKA-15892 > Project: Kafka > Issue Type: Bug > Components: connect > Reporter: Apoorv Mittal > Assignee: Chris Egerton > Priority: Major > Labels: flaky-test > Fix For: 4.0.0 > > > h4. Error > org.apache.kafka.connect.runtime.rest.errors.ConnectRestException: Could not > alter connector offsets. Error response: \{"error_code":500,"message":"Failed > to alter consumer group offsets for connector test-connector either because > its tasks haven't stopped completely yet or the connector was resumed before > the request to alter its offsets could be successfully completed. If the > connector is in a stopped state, this operation can be safely retried. If it > doesn't eventually succeed, the Connect cluster may need to be restarted to > get rid of the zombie sink tasks."} > h4. Stacktrace > org.apache.kafka.connect.runtime.rest.errors.ConnectRestException: Could not > alter connector offsets. Error response: \{"error_code":500,"message":"Failed > to alter consumer group offsets for connector test-connector either because > its tasks haven't stopped completely yet or the connector was resumed before > the request to alter its offsets could be successfully completed. If the > connector is in a stopped state, this operation can be safely retried. If it > doesn't eventually succeed, the Connect cluster may need to be restarted to > get rid of the zombie sink tasks."} > at > app//org.apache.kafka.connect.util.clusters.EmbeddedConnect.alterConnectorOffsets(EmbeddedConnect.java:614) > at > app//org.apache.kafka.connect.util.clusters.EmbeddedConnectCluster.alterConnectorOffsets(EmbeddedConnectCluster.java:48) > at > app//org.apache.kafka.connect.integration.OffsetsApiIntegrationTest.alterAndVerifySinkConnectorOffsets(OffsetsApiIntegrationTest.java:363) > at > app//org.apache.kafka.connect.integration.OffsetsApiIntegrationTest.testAlterSinkConnectorOffsets(OffsetsApiIntegrationTest.java:287) > at > java.base@11.0.16.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base@11.0.16.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base@11.0.16.1/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base@11.0.16.1/java.lang.reflect.Method.invoke(Method.java:566) > at > app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at > app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at > app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at > app//org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) > at > app//org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) > at app//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at > app//org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) > at app//org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) > at > app//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) > at > app//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) > at app//org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at app//org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at app//org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at app//org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at app//org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at app//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at app//org.junit.runners.ParentRunner.run(ParentRunner.java:413) > at > org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:112) -- This message was sent by Atlassian Jira (v8.20.10#820010)