Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/kafka-console-producer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
if [ "x$KAFKA_HEAP_OPTS" = "x" ]; then
export KAFKA_HEAP_OPTS="-Xmx512M"
fi
exec $(dirname $0)/kafka-run-class.sh kafka.tools.ConsoleProducer "$@"
exec $(dirname $0)/kafka-run-class.sh org.apache.kafka.tools.ConsoleProducer "$@"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the same change needs to be done in bin/windows/kafka-console-producer.bat

2 changes: 1 addition & 1 deletion bin/windows/kafka-console-producer.bat
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ rem limitations under the License.

SetLocal
set KAFKA_HEAP_OPTS=-Xmx512M
"%~dp0kafka-run-class.bat" kafka.tools.ConsoleProducer %*
"%~dp0kafka-run-class.bat" org.apache.kafka.tools.ConsoleProducer %*
EndLocal
4 changes: 4 additions & 0 deletions checkstyle/import-control.xml
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,10 @@
<allow pkg="kafka.test" />
<allow pkg="joptsimple" />
<allow pkg="javax.rmi.ssl"/>
<allow pkg="org.apache.kafka.test" />
<allow pkg="org.apache.kafka.tools" />
<allow class="org.apache.kafka.tools.ConsoleProducer.ConsoleProducerConfig" />
<allow class="org.apache.kafka.tools.ConsoleProducer.LineMessageReader" />
</subpackage>

<subpackage name="trogdor">
Expand Down
2 changes: 1 addition & 1 deletion checkstyle/suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
<suppress checks="BooleanExpressionComplexity"
files="StreamsResetter.java"/>
<suppress checks="NPathComplexity"
files="(ProducerPerformance|StreamsResetter|Agent|TransactionalMessageCopier).java"/>
files="(ProducerPerformance|StreamsResetter|Agent|TransactionalMessageCopier|LineMessageReader).java"/>
<suppress checks="ImportControl"
files="SignalLogger.java"/>
<suppress checks="IllegalImport"
Expand Down
39 changes: 0 additions & 39 deletions core/src/main/scala/kafka/common/MessageReader.scala

This file was deleted.

406 changes: 0 additions & 406 deletions core/src/main/scala/kafka/tools/ConsoleProducer.scala

This file was deleted.

223 changes: 0 additions & 223 deletions core/src/test/scala/unit/kafka/tools/ConsoleProducerTest.scala

This file was deleted.

Loading