Comments (7)
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:
- 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 - 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 - 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 - 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
keyIUDX-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.
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.
Hi @pachori91
- Yes, you need to use id in response as an exchange to push messages.
- Route Key should be derived from id.
for an id like111/222/333/444/555
a route key configured in RMQ can be111/222/333/444/.555
or111/222/333/444/.*
- 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.
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.
Hi @pachori91,
- 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
- 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.
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.
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)
- url encode the password when passed in url in redis client
- getting "invalidTemporalParam" for temporal query of more then 10 days
- Issues related to metering HOT 2
- [Performance] ImmuDB queries are take longer than expected response time HOT 2
- [API Documentation]
- [Response Body] API Response
- [invalidAuthorizationToken] Getting auth error when trying to access public resource HOT 2
- [Input Validation] Date-time validation in async API flow.
- [Update] Use Elasticsearch java-api client instead of High level elastic client. HOT 1
- [Bug] Issue with default time filter. HOT 1
- Need More Information to Configure Resource Server HOT 4
- Query Regrding Stream/Push Data to IUDX HOT 1
- Single Deployer file for both clustered and non-clustered deployment in all api servers
- Make cat server items API path configurable HOT 2
- Version bump for release 4.5.0 HOT 1
- Metering in subscription API [GET, DELETE] HOT 1
- Query regarding Attribute search API of Resource Server HOT 6
- Procedure to Avail Own Proxy Resource Server on the IUDX Platform HOT 3
- [Input Validation] Register Adapter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iudx-resource-server.