Program: 34270
Project: 34270
Buggy source:
public static void main(String[] args){
  String topic=args[0];
  final String url=args[1];
  String zk=args[2];
  System.out.println("String_Node_Str" + topic + "String_Node_Str"+ zk+ "String_Node_Str"+ url+ "String_Node_Str");
  final HttpClient client=HttpClientBuilder.create().build();
  Properties kafkaProps=new Properties();
  kafkaProps.put("String_Node_Str",zk);
  kafkaProps.put("String_Node_Str","String_Node_Str");
  kafkaProps.put("String_Node_Str","String_Node_Str");
  ConsumerConfig consumerConfig=new ConsumerConfig(kafkaProps);
  ConsumerConnector consumerConnector=Consumer.createJavaConsumerConnector(consumerConfig);
  HashMap<String,Integer> topicParallelism=new HashMap<String,Integer>();
  topicParallelism.put(topic,4);
  Map<String,List<KafkaStream<Message>>> topicMessageStreams=consumerConnector.createMessageStreams(topicParallelism);
  List<KafkaStream<Message>> streams=topicMessageStreams.get(topic);
  ExecutorService executor=Executors.newFixedThreadPool(4);
  for (  final KafkaStream<Message> stream : streams) {
    executor.submit(new Runnable(){
      public void run(){
        for (        MessageAndMetadata msgAndMessageData : stream) {
          HttpPost post=new HttpPost(url);
          post.setHeader("String_Node_Str","String_Node_Str");
          StringEntity fakeJsonEntity=new StringEntity("String_Node_Str",ContentType.APPLICATION_JSON);
          post.setEntity(fakeJsonEntity);
          try {
            HttpResponse response=client.execute(post);
            System.out.println("String_Node_Str" + response.getStatusLine().getStatusCode());
          }
 catch (          java.io.IOException e) {
            e.printStackTrace();
          }
        }
      }
    }
);
  }
}

Fixed version (ground truth):
public static void main(String[] args){
  String topic=args[0];
  final String url=args[1];
  String zk=args[2];
  System.out.println("String_Node_Str" + topic + "String_Node_Str"+ zk+ "String_Node_Str"+ url+ "String_Node_Str");
  final HttpClient client=HttpClientBuilder.create().build();
  Properties kafkaProps=new Properties();
  kafkaProps.put("String_Node_Str",zk);
  kafkaProps.put("String_Node_Str","String_Node_Str");
  kafkaProps.put("String_Node_Str","String_Node_Str");
  ConsumerConfig consumerConfig=new ConsumerConfig(kafkaProps);
  ConsumerConnector consumerConnector=Consumer.createJavaConsumerConnector(consumerConfig);
  HashMap<String,Integer> topicParallelism=new HashMap<String,Integer>();
  topicParallelism.put(topic,4);
  Map<String,List<KafkaStream<Message>>> topicMessageStreams=consumerConnector.createMessageStreams(topicParallelism);
  List<KafkaStream<Message>> streams=topicMessageStreams.get(topic);
  ExecutorService executor=Executors.newFixedThreadPool(4);
  for (  final KafkaStream<Message> stream : streams) {
    executor.submit(new Runnable(){
      public void run(){
        for (        MessageAndMetadata msgAndMetadata : stream) {
          HttpPost post=new HttpPost(url);
          post.setHeader("String_Node_Str","String_Node_Str");
          try {
            StringEntity jsonEntity=new StringEntity(new String(((Message)msgAndMetadata.message()).payload().array(),"String_Node_Str"),ContentType.APPLICATION_JSON);
            post.setEntity(jsonEntity);
            HttpResponse response=client.execute(post);
            System.out.println("String_Node_Str" + response.getStatusLine().getStatusCode());
          }
 catch (          java.io.UnsupportedEncodingException e) {
            e.printStackTrace();
          }
catch (          java.io.IOException e) {
            e.printStackTrace();
          }
        }
      }
    }
);
  }
}