Re: Karaf as micro service container

2020-05-01 Thread Scott Lewis
- A common topic for clustering is a common cache and locking. It's possible with hazelcast. But I was not able use hazelcasts caching service - lots of class loader issues. I was able to use ehcache (no locking) and redis for this features. It's a shame that specially 'java caching api'

Re: Karaf as micro service container

2020-05-01 Thread Mike Hummel
> On 1. May 2020, at 06:51, Jean-Baptiste Onofre wrote: > > > Thanks for sharing Mike and I like your ideas. About API Gateway, we started > a Karaf Vineyard PoC with discovery. I know that some companies are working > on a Gateway with discovery and pattern as well (Yupiik is working on

Re: Karaf as micro service container

2020-05-01 Thread Steinar Bang
> Mike Hummel : > Hi, > thank you for this line > ${env:JDBC_DRIVER_FEATURE:-postgresql} \ > So it is be possible to use env directly. Yep. And "-postgresql" means that it defaults to the string "postgresql" when the environment variable isn't set. Note in the other file that I dropped

Re: Karaf as micro service container

2020-05-01 Thread Mike Hummel
Hi, thank you for this line ${env:JDBC_DRIVER_FEATURE:-postgresql} \ So it is be possible to use env directly. Mike > On 1. May 2020, at 11:51, Steinar Bang wrote: > >> Mike Hummel : > >> - What currently is missing is a useful docker image supporting >> configuration via

Re: Karaf as micro service container

2020-05-01 Thread Mike Hummel
Hi ... > On 1. May 2020, at 06:51, Jean-Baptiste Onofre wrote: > > [...] >> >> - What currently is missing is a useful docker image supporting >> configuration via environment variables, changing user id and supporting >> sidecars like filebeat or loki promtail. - I already created a docker

Re: Karaf as micro service container

2020-05-01 Thread Mike Hummel
> On 1. May 2020, at 01:43, Scott Lewis wrote: > > Howdy, > > Apologies if I'm misinterpreting Mike's comments below as I was not able to > attend this presentation (but will watch it when available). > > On 4/30/2020 2:20 PM, Mike Hummel wrote: >> Hello, >> >> >> >> - A common topic for

Re: Karaf as micro service container

2020-05-01 Thread Steinar Bang
> Mike Hummel : > - What currently is missing is a useful docker image supporting configuration > via environment variables, changing user id and supporting sidecars like > filebeat or loki promtail. - I already created a docker image with features > like this. I can contribute it if

Re: Karaf as micro service container

2020-05-01 Thread Maurice Betzel
Hi Mike, maybe some input from my experience is useful. Within our Karaf cluster OSGi services are grouped by functionality like one Karaf node for Mariadb facades, one for Oracle facades, two for integration projects, one facade for ERP interaction etc... The Karaf is a homebrew dynamic one

Re: Karaf as micro service container

2020-04-30 Thread Jean-Baptiste Onofre
By the way, I liked the tag line used by Toni: Karaf is modulith runtime (meaning the next iteration after monolith and micro services) ;) Regards JB > Le 30 avr. 2020 à 23:20, Mike Hummel a écrit : > > Hello, > > referencing to Dimitrys presentation I understand that it's useful to group a

Re: Karaf as micro service container

2020-04-30 Thread Jean-Baptiste Onofre
Hi Mike, See my answer inline > Le 30 avr. 2020 à 23:20, Mike Hummel a écrit : > > Hello, > > referencing to Dimitrys presentation I understand that it's useful to group a > set of services in the same osgi container. This will reduce complexity and > work while updates, IC and more. > >

Re: Karaf as micro service container

2020-04-30 Thread Scott Lewis
Howdy, Apologies if I'm misinterpreting Mike's comments below as I was not able to attend this presentation (but will watch it when available). On 4/30/2020 2:20 PM, Mike Hummel wrote: Hello, - A common topic for clustering is a common cache and locking. It's possible with hazelcast. But