This example uses @extrefAkka HTTP to send the HTTP request and Akka HTTPs primary JSON support via @extrefSpray JSON (for Scala) or Jackson JSON (for Java) to convert the map into a JSON structure which gets published to a Kafka topic.
Browse the sources at @link:Github { open=new }.
To try out this project clone @link:the Alpakka Samples repository { open=new } and find it in the alpakka-sample-http-csv-to-kafka
directory.