Creating a loop with Nifi processors | BestBuy Dataflow | Apache Nifi | Part 2

แชร์
ฝัง

ความคิดเห็น • 11

  • @PetrenkoAndrii
    @PetrenkoAndrii 3 ปีที่แล้ว +3

    Definitely, most interesting guides for NiFi on TH-cam. I discovered NiFi couple of weeks ago, but it appears some times too complicated for me just to start using. Cannot wait next video!

  • @dalex100
    @dalex100 2 ปีที่แล้ว

    I think you mean "last" instead of "notLast". Because it is actually last page if the current page equals the total pages. Thank you for the tutorial!

  • @aakashsharma3323
    @aakashsharma3323 3 ปีที่แล้ว +1

    Elaborative explaination and helps me alot 👍👍

    • @StevenKoon
      @StevenKoon  3 ปีที่แล้ว +1

      Happy to see that it was helpful.

  • @MsYetis
    @MsYetis 3 ปีที่แล้ว +1

    helped me a lot, thank you

    • @StevenKoon
      @StevenKoon  3 ปีที่แล้ว

      Creating a loop in this one was a nice flow to demo. Happy it was helpful.

  • @vibhavaribellutagi9439
    @vibhavaribellutagi9439 ปีที่แล้ว

    Hi Steven,
    I love this series. Im trying to work on same API for my side project. I have registered to best buy developer with my domain and I got the API keys. but it still says approval is pending ( this is from long time ), can I start using the api keys? Any idea on this?

  • @fuzbeats
    @fuzbeats ปีที่แล้ว

    Can you update a reference parameter with the update attribute processor?

  • @PetrenkoAndrii
    @PetrenkoAndrii 3 ปีที่แล้ว

    In your video you have needed parameter of total pages in the top of response. But how if API returns a flat array with same row count in each element and everything, that we have is page size? I mean some thing like [{"f":"1234","k":"4321","rows":55},{"f":"7890","k":"0987","rows":55},{"f":"5657","k":"7654","rows":55}] in the response.
    How do you think will be better to take rows count from the 1st element? I tried making an attribute like ${rows:mod(${pagesize}):plus(1)}, but stuck on catching 1st element of response

    • @StevenKoon
      @StevenKoon  3 ปีที่แล้ว

      Does the api that your working with not provide the a current page number to that you know if there are more result to get? It looks like the example you have is missing information. Else I would assume when looking at it there are no more than the 55 rows.

    • @PetrenkoAndrii
      @PetrenkoAndrii 3 ปีที่แล้ว +1

      @@StevenKoon My mistake, number of the current page is present in response. But any way, I did not understand how to catch "rows" value from the first element in response flat array.
      Now I used the Jolt explains on the site, you showed in past videos. It helped to index array to ["0":{"f":"1234","k":"4321","rows":55},"1":{"f":"7890","k":"0987","rows":55},"2":{"f":"5657","k":"7654","rows":55}]. Then i simply took "rows" from "0" element. Thanks again for your videos!