How to convert CSV data into JSON in Apache NiFi

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 34

  • @bonnydavis6730
    @bonnydavis6730 2 дні тому

    Thank you so very much sir, With this detail i was able to achieve the objective.

  • @dufbal
    @dufbal 5 років тому +4

    can you do the whole thing over but slower and explaining why you're doing what you're doing?

  • @saidanimalak-fg9ms
    @saidanimalak-fg9ms 5 місяців тому

    can we use get file 'cause i want to convert an already existing csv file in my pc to json file ? or we have to use generate flowfile

  • @akbarshaik1280
    @akbarshaik1280 6 років тому +1

    Nicely explained Thank you!!! I am cleared with my doubts on this topic!

  • @ansarhayat6276
    @ansarhayat6276 2 роки тому +1

    Nicely explained Thank you!

  • @s.saranraj5215
    @s.saranraj5215 4 роки тому

    i want to send my data text data to mongodb. how to parse text data into json so that i can store it in db?

  • @alpro2nd
    @alpro2nd 5 років тому

    hi.. do you know how to take 1 column in csv file, then create a new csv file that contain that column only. thanks

  • @VishwanathkKb
    @VishwanathkKb 6 років тому

    Its really Helpful can please explain how to extract the data from one oracle table and insert into another oracle table using Nifi

  • @刘阳-y9w
    @刘阳-y9w 5 років тому

    If the first line of my file is not 'schema' and the file is just content, how do I set it
    Eg:
    blablabla
    Converted to
    {" test ": "blablabla}"

  • @theraven2202
    @theraven2202 5 років тому +1

    how to use getfile processor instead of Generateflowfile??

    • @InsightByte
      @InsightByte  5 років тому

      Hi, For this task you need to add a GetFile processor that will read the file followed by ConvertRecord processor. Note: GetFile has an option to keep the file after, read this option first.

    • @anmaralshammari5678
      @anmaralshammari5678 5 років тому +2

      AO DBA I’m having an issue with her file I can’t define schema.name as new coloum the way you did in generate file!

  • @akbarshaik1280
    @akbarshaik1280 6 років тому

    It would really helpful if would you provide next to this inserting those records to a database (oracle) table

    • @InsightByte
      @InsightByte  6 років тому

      Hi, thx for the feedback, yeah i will do a short on how to insert data into Oracle or any other RDBMS

    • @akbarshaik1280
      @akbarshaik1280 6 років тому +1

      Thanks!! for the positive response

  • @sunilzwengineer
    @sunilzwengineer 3 роки тому

    Hi. Can you let me know how we can take backup of dataflow .when the nifi is restarted all data flow are lost. Is there a way to backup nd restore dataflow when the nifi server goes for restart

    • @InsightByte
      @InsightByte  3 роки тому

      hi, that i not the case, if your nifi instance stoppes and you have flows in the queues, the flows will exists at nifi restart, unless your flowfile repo is set to volitile.

  • @weimeiteng1879
    @weimeiteng1879 Рік тому

    Clear explanation.

  • @chitrangsharma
    @chitrangsharma 3 роки тому

    Hi brother can you please tell me how can I take data from mysql and put it into another database of mysql ? I want to clone the database ...

    • @InsightByte
      @InsightByte  3 роки тому +1

      Might not be the right tool for cloning, but if you want if to be used for running queries and dooing insert into another db , yes - it is the tool for the job.
      You would need tbls with incremental keys thou

  • @juanpabloyela86
    @juanpabloyela86 3 роки тому

    Do you have anything about json to csv????

    • @InsightByte
      @InsightByte  3 роки тому +1

      there are some approaches there as well.
      If you have a schema infered you can use it along with a record convertor.
      An easy approach would be evaluatejson and then glue the atributes as a csv

    • @juanpabloyela86
      @juanpabloyela86 3 роки тому

      @@InsightByte thanks for answering!!! Yes, I thought about it too... Thue issue is that im reciebing a bunch of different complex arrays, so I think that building a processor for each one its not viable.

    • @InsightByte
      @InsightByte  3 роки тому

      @@juanpabloyela86 can you send me few examples ?

  • @ThuyLe-pr2fi
    @ThuyLe-pr2fi 6 років тому +1

    How to insert data from rabbitmq to myql?

    • @InsightByte
      @InsightByte  6 років тому

      I will post a new tutorial on how to do RabbitMQ extracts and MySQL inserts

    • @thuylevn9674
      @thuylevn9674 6 років тому

      May you also post the tutorial about streaming data to druid with Apache Nifi?

  • @ahmetbakirci7667
    @ahmetbakirci7667 5 років тому

    can I translate something in nifi?

  • @aryyzjfroxirisrirod
    @aryyzjfroxirisrirod 5 років тому

    doesn't work after kafka :|

  • @makhus8337
    @makhus8337 6 років тому

    how to insert CSV file into Nifi

    • @InsightByte
      @InsightByte  5 років тому

      What do you mean ?

    • @asmoth360
      @asmoth360 5 років тому

      With GetFile ?

    • @InsightByte
      @InsightByte  5 років тому

      ​@@asmoth360 Yes, use GetFile and the content will be inserted in the flowfile

    • @saidanimalak-fg9ms
      @saidanimalak-fg9ms 5 місяців тому

      @@InsightByte i tried like instead of using generateflowfile i put getfile and instead of using logattribute i used putfile but the were always a problem and the convert record was always invalid