Skip to content
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

Too many empty lines in log output #510

Closed
tolikkk opened this issue Jul 29, 2022 · 2 comments
Closed

Too many empty lines in log output #510

tolikkk opened this issue Jul 29, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@tolikkk
Copy link

tolikkk commented Jul 29, 2022

Hello.

Having problem with log output format in julie-ops-cli. I have topology with ~170 topics. When I add new topics, I get a huge number of blank lines in the julie work log. It seems, than amount of empty lines corresponds to the total number of my topics. I use docker, image version kafka-topology-builder:4.2.

Configs example:

  1. config.properties:
julie.debug.mode=false
topology.topic.prefix.separator=_
topology.topic.prefix.format={{topic}}
topology.project.prefix.format=
ssl.truststore.location=/path_to_truststore.jks
ssl.truststore.password=******
security.protocol=SSL
  1. topology.yml (add demo-5 topic)
context: "example"
projects:
  - name: "kafka"
    topics:
      [150+ topics described]
      - name: "demo-5"
      	config:
          retention.ms: "604800000"
          num.partitions: "2"
  1. execution and log output
julie-ops-cli.sh --topology topology.yml --brokers broker.example.com:9093 --clientConfig config.properties
log4j:WARN No appenders could be found for logger (org.apache.kafka.clients.admin.AdminClientConfig).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[WARN ] 2022-06-30 13:23:25.153 [main] TopicManager - Remote state verification disabled, this is not a good practice, be awarein future versions, this check is going to become mandatory.
[WARN ] 2022-06-30 13:23:25.153 [main] TopicManager - Remote state verification disabled, this is not a good practice, be awarein future versions, this check is going to become mandatory.
[WARN ] 2022-06-30 13:23:25.242 [main] AccessControlManager - Remote state verification disabled, this is not a good practice, be awarein future versions, this check is going to become mandatory.
[WARN ] 2022-06-30 13:23:25.242 [main] AccessControlManager - Remote state verification disabled, this is not a good practice, be awarein future versions, this check is going to become mandatory.
[WARN ] 2022-06-30 13:23:25.244 [main] ArtefactManager - Remote state verification disabled, this is not a good practice, be awarein future versions, this check is going to become mandatory.
[WARN ] 2022-06-30 13:23:25.244 [main] ArtefactManager - Remote state verification disabled, this is not a good practice, be awarein future versions, this check is going to become mandatory.
[WARN ] 2022-06-30 13:23:25.245 [main] ArtefactManager - Remote state verification disabled, this is not a good practice, be awarein future versions, this check is going to become mandatory.
[WARN ] 2022-06-30 13:23:25.245 [main] ArtefactManager - Remote state verification disabled, this is not a good practice, be awarein future versions, this check is going to become mandatory.
{
  "Operation" : "com.purbon.kafka.topology.actions.topics.CreateTopicAction",
  "Topic" : "demo-5",
  "Action" : "create"
}

...
[150+ empty lines]
...

List of Topics:
...

@tolikkk tolikkk added the bug Something isn't working label Jul 29, 2022
@purbon
Copy link
Collaborator

purbon commented Aug 3, 2022

fixed by #517

@purbon purbon closed this as completed Aug 3, 2022
@tolikkk
Copy link
Author

tolikkk commented Aug 3, 2022

I tested fix on the latest docker image (digest db5d3ae731e3) - everything ok, blank lines disappeared. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants