Loading data directly to Kafka without any Service seems unlikely.
However, you can use execute a simple kafka console producer to send all your data to the kafka service. But if your requirement is to save data to HDFS you need to include a few more services along with Kafka.
For example, Crawlers >> kafka console producer (or) Spark Streaming >> Flume >> HDFS
As your requirement is to store the data in HDFS and not stream the data. I suggest you execute a Spark job, it will store your data to HDFS. Refer mentioned commands to execute a spark job to move data to HDFS.
Initiate a spark-shell
Execute the mentioned command in the Spark shell in the same order.
val moveFile = sc.textFile("file:///path/to/Sample.log")