kafbat / kafka-ui

Open-Source Web UI for managing Apache Kafka clusters
http://ui.docs.kafbat.io
Apache License 2.0
635 stars 83 forks source link

Replace checkstyle plugin #27

Open Haarolean opened 10 months ago

Haarolean commented 10 months ago

We require a viable solution to fix the checkstyle errors right in IDE. Currently you have to compile and visit each class present in logs. This should work something like eslint/prettier with visual indication of invalidly formatted lines.

Haarolean commented 8 months ago

https://github.com/palantir/palantir-java-format?tab=readme-ov-file

Haarolean commented 1 month ago

current checkstyle plugin doesn't care about formatting like this:

  public Mono<Void> deleteConsumerGroupOffset(KafkaCluster cluster,
                                            String groupId,
                                              String topicName) {
    return adminClientService.get(cluster)
        .flatMap(adminClient -> adminClient.deleteConsumerGroupOffsets(groupId, topicName));
  }