Skip to content

Commit

Permalink
feat : add comment & tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Libazhe committed Dec 31, 2021
1 parent 21862cd commit bd89200
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions kafka_producer/src/main/java/kafka_producer/consumer.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import java.util.Arrays;
import java.util.Properties;

//consumer
public class consumer {
public static void main(String[] args) throws InterruptedException{
if (!args[1].equals("--brokers"))
Expand Down
1 change: 1 addition & 0 deletions kafka_producer/src/main/java/kafka_producer/entry.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package kafka_producer;

//entry
public class entry {
public static void main(String[] args) throws InterruptedException{
if (args[0].equals("producer")) {
Expand Down
1 change: 1 addition & 0 deletions kafka_producer/src/main/java/kafka_producer/producer.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import java.util.*;

//producer
public class producer {
public static void main(String[] args) throws InterruptedException{
if (!args[1].equals("--brokers")) //parser
Expand Down

0 comments on commit bd89200

Please sign in to comment.