Skip to content

Commit e706f93

Browse files
committed
Remove unused DEBUG defination
1 parent b4c2d30 commit e706f93

15 files changed

+15
-40
lines changed

include/kafka/AdminClient.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,5 @@ AdminClient::deleteRecords(const TopicPartitionOffsets& topicPartitionOffsets,
341341
return admin::DeleteRecordsResult(combineErrors(errors));
342342
}
343343

344-
}
345-
} // end of KAFKA_API::clients
344+
} } // end of KAFKA_API::clients
346345

include/kafka/AdminClientConfig.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,5 @@ class Config: public Properties
4040
static const constexpr char* SASL_KERBEROS_SERVICE_NAME = "sasl.kerberos.service.name";
4141
};
4242

43-
}
44-
}
45-
} // end of KAFKA_API::clients::admin
43+
} } } // end of KAFKA_API::clients::admin
4644

include/kafka/AdminCommon.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,5 @@ struct ListTopicsResult
6666
Topics topics;
6767
};
6868

69-
}
70-
}
71-
} // end of KAFKA_API::clients::admin
69+
} } } // end of KAFKA_API::clients::admin
7270

include/kafka/ConsumerCommon.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,5 @@ namespace KAFKA_API { namespace clients { namespace consumer {
6161
rd_kafka_consumer_group_metadata_unique_ptr _rkConsumerGroupMetadata;
6262
};
6363

64-
}
65-
}
66-
} // end of KAFKA_API::clients::consumer
64+
} } } // end of KAFKA_API::clients::consumer
6765

include/kafka/ConsumerConfig.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,5 @@ class Config: public Properties
111111
static const constexpr char* SASL_KERBEROS_SERVICE_NAME = "sasl.kerberos.service.name";
112112
};
113113

114-
}
115-
}
116-
} // end of KAFKA_API::clients::consumer
114+
} } } // end of KAFKA_API::clients::consumer
117115

include/kafka/ConsumerRecord.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,5 @@ ConsumerRecord::toString() const
150150
return oss.str();
151151
}
152152

153-
}
154-
}
155-
} // end of KAFKA_API::clients::consumer
153+
} } } // end of KAFKA_API::clients::consumer
156154

include/kafka/KafkaClient.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ class KafkaClient
251251
static const constexpr char* BOOTSTRAP_SERVERS = "bootstrap.servers";
252252
static const constexpr char* CLIENT_ID = "client.id";
253253
static const constexpr char* LOG_LEVEL = "log_level";
254-
static const constexpr char* DEBUG = "debug";
255254

256255
protected:
257256
struct Pollable
@@ -623,6 +622,5 @@ KafkaClient::fetchBrokerMetadata(const std::string& topic, std::chrono::millisec
623622
}
624623

625624

626-
}
627-
} // end of KAFKA_API::clients
625+
} } // end of KAFKA_API::clients
628626

include/kafka/KafkaConsumer.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,6 +1039,5 @@ KafkaConsumer::commitAsync(const consumer::OffsetCommitCallback& offsetCommitCal
10391039
commitAsync(TopicPartitionOffsets(), offsetCommitCallback);
10401040
}
10411041

1042-
}
1043-
} // end of KAFKA_API::clients
1042+
} } // end of KAFKA_API::clients
10441043

include/kafka/KafkaProducer.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,5 @@ KafkaProducer::sendOffsetsToTransaction(const TopicPartitionOffsets& t
511511
KAFKA_THROW_IF_WITH_ERROR(result);
512512
}
513513

514-
}
515-
} // end of KAFKA_API::clients
514+
} } // end of KAFKA_API::clients
516515

include/kafka/ProducerCommon.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,5 @@ class RecordMetadata
181181
*/
182182
using Callback = std::function<void(const RecordMetadata& metadata, const Error& error)>;
183183

184-
}
185-
}
186-
} // end of KAFKA_API::clients::producer
184+
} } } // end of KAFKA_API::clients::producer
187185

0 commit comments

Comments
 (0)