Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jnosql-dev] Database parameters

Now I got it, we have support. About unify documentation in one place.
I'll work on it. 

On Sun, Aug 2, 2020 at 8:09 AM Otavio Santana <otaviopolianasantana@xxxxxxxxx> wrote:
Hello, sorry for the delay.
I long week with several conferences.
Yes, we can work to provide on that because the Settings has support to it.

On Tue, Jul 28, 2020 at 9:58 AM klemen kobau <klemen.kobau@xxxxxxxxx> wrote:
Hello,

I am talking about database specific parameters like:
  • redis.host: the host client
  • redis.port: the port, the default value 6379
  • redis.timeout: the redis timeout, the default value 2000 on milis
  • redis.password: the password
  • redis.database: the redis database number, the default value is 0
  • redis.clientName: the redis client name
  • redis.max.total: The max number of thread to {@link JedisPoolConfig}, the default value 1000
  • redis.max.idle: The max idle {@link JedisPoolConfig}, the default value 10
  • redis.min.idle: The min idle {@link JedisPoolConfig}, the default value 1
  • redis.max.wait.millis: The max wait on millis on {@link JedisPoolConfig}, the default value 3000
I got these from the redis database config file documentation, but I was wondering if these parameters were available somewhere for all databases in one place.
I am trying to make a way for the user to only specify the config in a yaml file and then the underlying configuration is created automatically and later, if a user wants to change the configuration, he only has to change the dependency and the config file (as far as the database configuration goes).
But to make it easier for the user to know which parameters to fill in the yaml file, I would need to show him all the required database parameters, which I currently only find in the config classes.

Kind regards

Klemen Kobau

On Tue, 28 Jul 2020 at 12:53, Otavio Santana <otaviopolianasantana@xxxxxxxxx> wrote:
Hello, how are you?
I do have some samples code here:
https://github.com/JNOSQL/artemis-demo

About the parameters we have the Settings class the pass all the information to the database:
http://www.jnosql.org/javadoc/jakarta/nosql/Settings.html

Could you describe better what kind of parameter are you looking for?

On Tue, Jul 28, 2020 at 2:35 AM klemen kobau <klemen.kobau@xxxxxxxxx> wrote:
Hello,

I am trying to create some samples for the JNoSQL framework, but can't seem to find the database parameters. Are those available?

Kind regards

Klemen Kobau
_______________________________________________
jnosql-dev mailing list
jnosql-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jnosql-dev


--
Otávio Santana
_______________________________________________
jnosql-dev mailing list
jnosql-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jnosql-dev
_______________________________________________
jnosql-dev mailing list
jnosql-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jnosql-dev


--
Otávio Santana


--
Otávio Santana

Back to the top