Skip to content

FIXED_LIST config #6

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

Open
tokazio opened this issue Sep 8, 2021 · 1 comment
Open

FIXED_LIST config #6

tokazio opened this issue Sep 8, 2021 · 1 comment

Comments

@tokazio
Copy link

tokazio commented Sep 8, 2021

Sorry but i can't manage how to configure the webapi repository as a FIXED_LIST
I've found the MULTICAST example, webapi/conf/repository.json

{
  "clusters" : [
    {
      "name" : "myCluster",
      "mode" : "MULTICAST",
      "address" : "239.0.0.111",
      "port" : 31999
    }
  ]
}

I know that the mode will be "FIXED_LIST", but how to configure members ?

https://github.com/griddb/webapi/blob/master/Parameters.md
transactionMember is a String, What to put in transactionMember / sqlMember please ?

{
  "clusters" : [
    {
      "name" : "myCluster",
      "mode" : "FIXED_LIST",
      "transactionMember" : "?",
      "sqlMember" : "?"
    }
  ]
}
@knonomura
Copy link
Member

Thank you for your usage.

Could you please set with "(IP address of GridDB node):(portNo)" format for transactionMember / sqlMember ?

Default portNo for transactionMember (sqlMember) is 10001 (2001).
The setting of transactionMember (sqlMember) is used to connect to GridDB node with Java Client (JDBC Driver).

For example:

    ...
    "transactionMember" : "192.168.0.10:10001"
    "sqlMember" : "192.168.0.10:20001"
    ...

FIXED_LIST: fixed list method for GridDB node
https://github.com/griddb/docs-en/blob/master/manuals/GridDB_FeaturesReference.md#fixed_list-fixed-list-method
notificationMember for Java client
https://griddb.org/docs-en/manuals/GridDB_Java_API_Reference.html#GridStoreFactory.html__getGridStore(java.util.Properties)
notificationMember for JDBC Driver
https://github.com/griddb/docs-en/blob/master/manuals/GridDB_JDBC_Driver_UserGuide.md#connection-url-format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants