You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by so...@accenture.com on 2014/06/28 01:35:20 UTC
kafka producer pulling from custom restAPI
Hi,
I have a quick question. Say I have a custom REST API with data in JSON format. Can the Kafka Producer read directly from the REST API and write to a topic?
If so, can you point me to the code base?
Thanks,
Sonali
Sonali Parthasarathy
R&D Developer, Data Insights
Accenture Technology Labs
703-341-7432
________________________________
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
______________________________________________________________________________________
www.accenture.com
RE: kafka producer pulling from custom restAPI
Posted by so...@accenture.com.
Ah, gotcha.
Thanks,
Sonali
-----Original Message-----
From: Steve Morin [mailto:steve.morin@gmail.com]
Sent: Friday, June 27, 2014 4:45 PM
To: users@kafka.apache.org
Cc: <us...@kafka.apache.org>
Subject: Re: kafka producer pulling from custom restAPI
The answer is no, it doesn't work that way. You would have to write a process to consume from the API back end and have that back end write to Kafka
> On Jun 27, 2014, at 19:35, <so...@accenture.com> wrote:
>
> Hi,
>
> I have a quick question. Say I have a custom REST API with data in JSON format. Can the Kafka Producer read directly from the REST API and write to a topic?
>
> If so, can you point me to the code base?
>
> Thanks,
> Sonali
>
> Sonali Parthasarathy
> R&D Developer, Data Insights
> Accenture Technology Labs
> 703-341-7432
>
>
> ________________________________
>
> This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
> ______________________________________________________________________________________
>
> www.accenture.com
Re: kafka producer pulling from custom restAPI
Posted by Steve Morin <st...@gmail.com>.
The answer is no, it doesn't work that way. You would have to write a process to consume from the API back end and have that back end write to Kafka
> On Jun 27, 2014, at 19:35, <so...@accenture.com> wrote:
>
> Hi,
>
> I have a quick question. Say I have a custom REST API with data in JSON format. Can the Kafka Producer read directly from the REST API and write to a topic?
>
> If so, can you point me to the code base?
>
> Thanks,
> Sonali
>
> Sonali Parthasarathy
> R&D Developer, Data Insights
> Accenture Technology Labs
> 703-341-7432
>
>
> ________________________________
>
> This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
> ______________________________________________________________________________________
>
> www.accenture.com