Replies: 3 comments 5 replies
-
Hi @aisb459, The connector is meant to scroll through the results returned by the API. Apparently that API is not meant to be scrolled, is it? Best regards. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hi Castorm,
Yes.. The api is not meant to change.. Is there a way I can set the
connector to make only one http request? Also is there a way I can provide
time interval between json records in a http request(didn't mean interval
between http requests)..?
Thanks.
…On Sun, 13 Jun, 2021, 10:06 PM Cástor Rodríguez, ***@***.***> wrote:
Hi @aisb459 <https://github.com/aisb459>,
The connector is meant to scroll through the results returned by the API.
Apparently that API is not meant to be scrolled, is it?
Best regards.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#131 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUOHK4G2VIQEBZWXKSBYKMDTSTM7BANCNFSM46Q4WNBQ>
.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi,
Suppose if my api response is the following:
[
{
"PWID": "1",
"LOT_NUMBER": "jz3177"
},
{
"PWID": "2",
"LOT_NUMBER": "jz3177"
},
{
"PWID": "3",
"LOT_NUMBER": "jz3177"
}
]
can I give intervals between each json object which means
{ "PWID": "1", "LOT_NUMBER": "jz3177" }
**n seconds interval**
{ "PWID": "2", "LOT_NUMBER": "jz3177" }
**n seconds interval**
{ "PWID": "1", "LOT_NUMBER": "jz3177" }
Thanks
…On Wed, Jun 16, 2021 at 11:52 PM Cástor Rodríguez ***@***.***> wrote:
Hi @aisb459 <https://github.com/aisb459>,
I'm afraid the connector doesn't allow you to limit to a single request.
As you probably already know, you can configure the interval in between
requests, not sure what you mean about interval in between records, can you
elaborate on that?
Thanks,
Best regards.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#131 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUOHK4FXHA2RGDUABZZIOLLTTDTWBANCNFSM46Q4WNBQ>
.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I perform request to the specific REST API (get request). I get this back:
{"PWID": "1","LOT_NUMBER": "jz3177"}
But when I perform the request through this source connector, I get same records infinitie number of times
I expect it only once as I get only one record as response from my rest api
what am I missing in properties? I am new to kafka connect
if I apply transforms and get only this {"PWID":"1","LOT_NUMBER":"jz3177"} then is there any way to avoid duplicate records in topic in which PWID is primary key?
Please help !!
Beta Was this translation helpful? Give feedback.
All reactions