New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a mongodb connector for Syndesis #5337
Comments
From Teiid side the connection properties, I will be interested in capturing will be
These are in sync with Spring Boot properties |
In camel they are different |
I am not concerned if the names are different, but if I can map properties one to one or extract above that would suffice the data virtualization need. |
First basic structure and unit testing are showing that upstream component is working fine. However there may be a problem due to the fact that a connection bean is required on the |
This is going to be an issue, I think that we need to enhance the the
component upstream to allow more flexibility for configuring the mongodb
connection
On Fri, 7 Jun 2019 at 17:21, Pasquale Congiusti ***@***.***> wrote:
First basic structure and unit testing are showing that upstream component
is working fine. However there may be a problem due to the fact that a
connection bean is required on the CamelContext. Will provide further
analysis.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5337?email_source=notifications&email_token=AAOIJBL2T6ICIH5IJ6HEVMLPZJ4HLA5CNFSM4HMCOYM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXGETMI#issuecomment-499927473>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAOIJBLJGES7KF6756ZRI6LPZJ4HLANCNFSM4HMCOYMQ>
.
--
--
Luca Burgazzoli
|
I've created this issue to enhance the upstream component: #5773 |
@rareddy, about the connection configuration you're mentioning the presence of |
@squakez you mean the Collection name? I am not sure I follow use the same configuration to connect to different databases? |
The current implementation requires that the collection used is a capped collection . This has several limitations:
All of this severly limits the usability of this connector, to the point where I do not think we can claim general mongodb support. |
As just discussed in chat, likely capped collection must be used for consumer only. Produced should be used and tested with normal collections. It would be a matter of highlighting in the connector documentation. |
Ok, so per my current understanding
|
@squakez is there a limitation to use the capped collection for consumer? |
If we know potential breaking changes are needed to complete or add to the matrix above, the connector should be TP until we can refactor. |
As mentioned in the requirement document: Integration with Mongo as a consumer: the upstream component feature is limited by the fact that a Mongo collection must be a capped collection with a feature named “Tailable cursor consumer”. We will start with this solution and evolve to Change Streams if we get it required. The change stream feature is something added lately to the upstream component, and, unfortunately it's only available in camel 3. I made some quick test to see how easy would be to backport to 2.x but, unfortunately there are breaking changes that may require some effort to have it working. I can give priority to the refactor of the change stream feature to have it working in camel 2.x, though I cannot estimate the effort needed. |
I've run some experiment to see the complexity of backporting the feature to from actual 3.0 to 2.x. It seems it's viable, so I'll keep working on that direction and implement the change stream to have the connector GA. I've created an ad-hoc subtask: #6436 |
Migrated to https://issues.jboss.org/browse/ENTESB-11499 |
@heiko-braun @squakez Just FYI, the DV support can NOT be added with out additional support for the default |
See also https://issues.jboss.org/browse/ENTESB-11499
As a citizen user I want to be able to connect to MongoDB datastore. I will provide my own connection configuration strings such as:
mongodb://[username:password@]host1[:port1][,...hostN[:portN]]][/[database][?options]]
(See https://docs.mongodb.com/manual/reference/connection-string/)
Acceptance Criteria
Stretch items
--There is an initial draft of the user doc for this feature.
--The writer acknowledges receiving enough information from engineering to write the initial draft of the user doc for this feature.
The text was updated successfully, but these errors were encountered: