Support Questions

Find answers, ask questions, and share your expertise

Sql db to ecommerce websites using nifi

avatar

What is the process for move data to ecommerce website from sql db using apache nifi 

4 REPLIES 4

avatar

It's big commerce 

avatar

@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.

avatar

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?

 

avatar

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.