Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public interface Consumer<K, V> extends Closeable {
ConsumerGroupMetadata groupMetadata();

/**
* @see KafkaConsumer#enforceRebalance)
* @see KafkaConsumer#enforceRebalance()
*/
void enforceRebalance();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ public void commit() throws InterruptedException {
* also called when a record is filtered by a transformation, and thus will never be ACK'd by a broker.
* </p>
* <p>
* This is an alias for {@link commitRecord(SourceRecord, RecordMetadata)} for backwards compatibility. The default
* implementation of {@link commitRecord(SourceRecord, RecordMetadata)} just calls this method. It is not necessary
* This is an alias for {@link #commitRecord(SourceRecord, RecordMetadata)} for backwards compatibility. The default
* implementation of {@link #commitRecord(SourceRecord, RecordMetadata)} just calls this method. It is not necessary
* to override both methods.
* </p>
* <p>
Expand All @@ -105,7 +105,7 @@ public void commit() throws InterruptedException {
*
* @param record {@link SourceRecord} that was successfully sent via the producer or filtered by a transformation
* @throws InterruptedException
* @see commitRecord(SourceRecord, RecordMetadata)
* @see #commitRecord(SourceRecord, RecordMetadata)
*/
public void commitRecord(SourceRecord record) throws InterruptedException {
// This space intentionally left blank.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
package unit.kafka.controller

import kafka.cluster.{Broker, EndPoint}
import kafka.controller.PartitionAndReplica
import kafka.controller.{ControllerContext, ReplicaAssignment}
import org.apache.kafka.common.TopicPartition
import org.apache.kafka.common.network.ListenerName
Expand Down
5 changes: 0 additions & 5 deletions core/src/test/scala/unit/kafka/utils/TestUtils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package kafka.utils

import java.io._
Expand All @@ -27,17 +26,13 @@ import java.time.Duration
import java.util.{Arrays, Collections, Properties}
import java.util.concurrent.{Callable, ExecutionException, Executors, TimeUnit}

import com.yammer.metrics.Metrics
import com.yammer.metrics.core.Meter
import javax.net.ssl.X509TrustManager
import kafka.api._
import kafka.cluster.{Broker, EndPoint}
import kafka.controller.LeaderIsrAndControllerEpoch
import kafka.log._
import kafka.security.auth.{Acl, Authorizer => LegacyAuthorizer, Resource}
import kafka.server._
import kafka.server.checkpoints.OffsetCheckpointFile
import Implicits._
import com.yammer.metrics.core.Meter
import kafka.controller.LeaderIsrAndControllerEpoch
import kafka.metrics.KafkaYammerMetrics
Expand Down