[Apiman-user] Apiman & Elasticsearch

Stéphane Riegel stephane.riegel at gmail.com
Sat Sep 3 10:14:49 EDT 2016


Hello Eric,

Thanks a lot for this answer, the configuration you send me works well with
a MySQL DB.

Regarding the apiman cache container, could you send me the configuration
that I need to use in a cluster environment with several apiman nodes ?

Best regards,

Stéphane

-----------------------------------------------------------------------
Stéphane Riegel
stephane.riegel at gmail.com

2016-09-01 2:12 GMT+02:00 Eric Wittmann <eric.wittmann at redhat.com>:

> Hi Stéphane.
>
> Yes, it is possible to run apiman without using Elasticsearch at all. You
> mentioned that you already replaced ES with mysql for the gateway
> registry.  There are several other components as well, including metrics.
> We have documentation for metrics here:
>
> http://www.apiman.io/latest/installation-guide.html#_how_to_
> use_a_sql_database_to_store_and_retrieve_metrics_replacing_elasticsearch
>
> In addition, here is an example apiman.properties config that uses
> alternatives for everything (Gateway only):
>
> https://gist.github.com/EricWittmann/822911517aa357b8c8c94c3ec79a32f3
>
> Note that several of the components use Infinispan instead of
> elasticsearch.  In order to use the Infinispan components you'll need to be
> using Wildfly *and* also add the following in your standalone-apiman.xml
> file (in the right spot in that file):
>
> https://gist.github.com/EricWittmann/437432397f03270737d9fbd9bdadeaea
>
> There are other choices for these components, but currently only the
> Elasticsearch and Infinispan implementations support multiple gateway
> nodes.  If you're just running a single Gateway node, you could use the
> in-memory implementations of these components (although you would lose
> state if the server was restarted).
>
> As for production references, I'm sorry to say that we don't really
> solicit that information in the community.  However I have CC'd this
> response on the apiman users mailing list so perhaps someone will raise a
> hand and describe their production experience. :)
>
> -Eric
>
>
>
>
> On 8/31/2016 1:30 PM, Stéphane Riegel  wrote:
>
>> Hi Eric,
>>
>>
>>
>> I was interested on apiman opensource project and had a look on the
>> configuration part and have two questions:
>>
>>
>> Is it a way to not use elasticsearch at all on the project (gateway,
>> metrics,  rate …) ? Are there alternatives backend like MySQL for all
>> these elasticsearch features. I succeed to replace the gateway
>> information with MySQL but not all others features (metrics, rate …).
>>
>>
>> Do you know if this project has some references in production?
>>
>>
>> Thanks a lot.
>>
>>
>>
>> Best regards,
>>
>>
>>
>> Stéphane
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20160903/56993cce/attachment-0001.html 


More information about the Apiman-user mailing list