GithubHelp home page GithubHelp logo

Comments (7)

abhi4578 avatar abhi4578 commented on May 28, 2024

Hi deepak (@pachori91 )

One more step I feel that left out is Rabbitmq configuration, It needs to be configured with appropriate vhosts, exchanges,queues and bindings. Please find the docs below:

  • Login to Mangement UI at https://<RMQ-domain-name>:28041/ as admin user.

  • Configure appropriate vhosts, exchanges, queues and bindings from UI as given in the below table:

    1. Create vHosts: Goto Admin-> Virtual Hosts -> add virtual host at the bottom by entering the name. Following vhosts needs to be added
    vHost
    IUDX
    IUDX-EXTERNAL
    IUDX-INTERNAL
    1. Create queues: Goto Queues -> Add queue by entering the name, select appropriate vhost , rest all defaults. Following queues needs to be created
    VHOST Queues Name
    IUDX-INTERNAL fs-invalid-sub
    IUDX-INTERNAL gis-invalid-sub
    IUDX-INTERNAL lip-invalid-sub
    IUDX-INTERNAL lip-processed-messages
    IUDX-INTERNAL lip-unique-attributes
    IUDX-INTERNAL rs-invalid-sub
    IUDX-INTERNAL rs-unique-attributes
    IUDX database
    IUDX redis-latest
    1. Create Exchanges: Goto Exchanges -> Add a new Exchange by entering the name, select appropriate vHost, type , rest all defaults. Following exchanges needs to be created
    VHOST Exchange Name Type of exchange
    IUDX-INTERNAL invalid-sub topic
    IUDX-INTERNAL latest-data-unique-attributes topic
    IUDX-INTERNAL processed-messages topic
    1. Create Exchange-Queue bindings: Goto particular vHost -> particular exchange ->Bindings-> enter queue name to bind to, add routing key-> bind. Following exchange-queue binding needs to be created
    VHOST Exchange Queue Routing
    key
    IUDX-INTERNAL invalid-sub fs-invalid-sub #
    IUDX-INTERNAL invalid-sub gis-invalid-sub #
    IUDX-INTERNAL invalid-sub lip-invalid-sub #
    IUDX-INTERNAL invalid-sub rs-invalid-sub #
    IUDX-INTERNAL latest-data-unique-attributes lip-unique-attributes #
    IUDX-INTERNAL latest-data-unique-attributes rs-unique-attributes #
    IUDX-INTERNAL processed-messages lip-processed-messages #

Regards
Abhilash

from iudx-resource-server.

pachori91 avatar pachori91 commented on May 28, 2024

Hi Team,

I have followed Register Adaptor for Resouce on my Local Instance to register adaptor.

Finally i got databroker enpoint with credential.

Below are my Further queries

  • do i need to write to same exchange which provided as "id" in Register Adpator API's response or no need to mention exchange while pushing data to RabbitMq?
  • Is the route_key will be same as exchange id?
  • Does same thing apply for public IUDX Server?

@kailash i am asking this question again as same is not answered yet.

Thanks
Deepak Kumar

from iudx-resource-server.

kailash avatar kailash commented on May 28, 2024

Hi @pachori91

  1. Yes, you need to use id in response as an exchange to push messages.
  2. Route Key should be derived from id.
    for an id like 111/222/333/444/555 a route key configured in RMQ can be 111/222/333/444/.555 or 111/222/333/444/.*
  3. Not sure about what you mean by public IUDX server, but yes things are the same as told above. but there may be changes according to the client and IUDX platform security policies.

from iudx-resource-server.

pachori91 avatar pachori91 commented on May 28, 2024

Hi @kailash & @abhi4578 & Team,

Suppose on IUDX i registered my Ingestion adpator and obtained databroker access information.

SO my further queries are as below-

  • if i push 2 records with same id, then what will consumer see, will consumer see two record or one last updated only?
  • If i need to delete a record which i published already then what should be the steps i need to folow? Does it support deletetion of published record?

Thanks
Deepak Kumar

from iudx-resource-server.

kailash avatar kailash commented on May 28, 2024

Hi @pachori91,

  1. What consumers will see depends on the API used to fetch data,
    • If the latest data API is used, only the latest record will be returned.
    • If another API (temporal, spatial, attribute or complex) is used, then all records satisfying the query parameters conditions will be returned
  2. There is no delete API supported as of now, have a look at api-docs for more in-depth API knowledge.

from iudx-resource-server.

pachori91 avatar pachori91 commented on May 28, 2024

Hi @kailash

Thanks for your reply,

So we can say that if we are insert 2 record with same Id, then IUDX will store both record with same id and Consumer will get
data as per its query?

please correct me if my understanding is wrong here.

Thanks
Deepak Kumar

from iudx-resource-server.

kailash avatar kailash commented on May 28, 2024

Hi @kailash

Thanks for your reply,

So we can say that if we are insert 2 record with same Id, then IUDX will store both record with same id and Consumer will get data as per its query?

please correct me if my understanding is wrong here.

Thanks Deepak Kumar

Yes

from iudx-resource-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.