View Java Class Source Code in JAR file
- Download JD-GUI to open JAR file and explore Java source code file (.class .java)
- Click menu "File → Open File..." or just drag-and-drop the JAR file in the JD-GUI window kafka-java-examples-0.8.0.jar file.
Once you open a JAR file, all the java classes in the JAR file will be displayed.
kafka.examples
├─ kafka.examples.Consumer.class - [JAR]
├─ kafka.examples.KafkaConsumerProducerDemo.class - [JAR]
├─ kafka.examples.KafkaProperties.class - [JAR]
├─ kafka.examples.Producer.class - [JAR]
├─ kafka.examples.SimpleConsumerDemo.class - [JAR]