Comments (5)
@To-om does 5e2e12b fully implement the HTTP transport, or is there more to do. I'm ultimately keen to update TheHive to use an ES 6.x backend, but it seems the TCP transport and Netty dependencies are the stopper for that. Maybe there's other issues, but I thought I'd ask.
I'm happy to test and provide useful feedback. I use Elastic extensively with the @rocknsm project and I'm looking to update my entire cluster to 6.x.
Thanks!
from elastic4play.
Hi @bacoboy,
Several week ago, I've tried to add support of elastic4s HTTP client to Elastic4play but some operations were not supported. I've updated elastic4s version and it works better but there are many problems to support both TCP and HTTP.
The main problem is that the result of an operation (a search for example) doesn't return the class. TCP client returns a com.sksamuel.elastic4s.searches.RichSearchResponse
whereas HTTP client returns a com.sksamuel.elastic4s.http.search.SearchResponse
and conversion between the two types is not possible (they doesn't contain the same data).
In order to support HTTP and TCP, I must add an abstraction layer on operation results.
For you information, we have many problems with ElasticSearch and we seriously think about migration to another database technology. But migration to a new database is not an easy task and will take time.
from elastic4play.
Yes, because you are using the the result classes directly you would have to create an abstraction layer anyway -- in which case you could support a plugable persistence layer -- including a standard database.
from elastic4play.
+1
@To-om does 5e2e12b fully implement the HTTP transport
This issue, we're in the process of spinning up a production cluster and were going with AWS Elasticsearch just to provide a quick low maintenance ES cluster ( daily back up etc ). Anyhow AWS does not support TCP clients.
I see the branch on which this work was done stopped, was it successful or a dead end.
from elastic4play.
From version 1.11, HTTP communication is used. TCPClient is not used any longer.
from elastic4play.
Related Issues (20)
- Fix library conflicts
- Update doesn't work on Elasticsearch 7.11
- artifact is not available anymore in bintray
- The jar is not compatible with java 8
- error not found: value pgpSigningKey
- Update libraries
- Null values in objects are moved during json serialisation
- The jar is not compatible with java 8
- Upgrade Elastic4s Version
- Add method to compute the size of attachment
- Prevent the initial user to be stored in session
- Errors on streamed search are not correctly reported and induce timeouts
- Replace groovy script by painless
- The size calculation of an empty attachment fails
- Add support of ES7
- Make sso authenticate method return an HTTP response
- Use ES7 optimistic concurrency control
- Use different queues for ES requests HOT 1
- Update Playframework to fix vulnerability
- Update Playframework to fix vulnerabilities
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 elastic4play.