Created 10-10-2023 02:35 AM
What is the process for move data to ecommerce website from sql db using apache nifi
Created 10-10-2023 05:21 AM
It's big commerce
Created 10-10-2023 06:46 AM
@Abhiram-4455, can you please be more specific in your request? What are you trying to do exactly? What do you mean by move? What do you mean by sql db - there are plenty of db types? And so on.
Created 10-10-2023 11:46 PM
We have source database which sql database from database to to we have expose our data to e-commerce websites using big commerce api's.. How do I do these process using nifi tool?
Created 10-11-2023 06:44 AM
Again, you answer is a little bit vague and it does not provide any information whatsoever, so therefor you answer will be quite generic.
You can use any Processor you want to extract the data from your source database: GenerateTableFetch+ExecuteSQLRecord, ExecuteSQLRecord, ExecuteSQL, QueryDatabaseTable, QueryDatabaseTableRecord. In all of them you will have to define a DBCP Connection Service so that you can connect to your database. In the processors with Record, you can define the type of the output you will see (Avro, Parquet, JSON, etc)
Afterwards, you do whatever processing you need and assuming that you will use an RestAPI, you can use the InvokeHTTP Processor to call that API Endpoint, with whatever parameters you require. Take note that if those parameters are inside the flowfile, you will need to extract them as attributes, meaning that you will have to add some extra processing.