An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 1.6% on proxy.golang.org
Top 0.4% dependent packages on proxy.golang.org
Top 0.5% dependent repos on proxy.golang.org
Top 3.3% forks on proxy.golang.org
Top 0.3% docker downloads on proxy.golang.org

proxy.golang.org : github.com/hazelcast/hazelcast-go-client

Package hazelcast provides the Hazelcast Go client. Hazelcast is an open-source distributed in-memory data store and computation platform. It provides a wide variety of distributed data structures and concurrency primitives. Hazelcast Go client is a way to communicate to Hazelcast clusters and access the cluster data. If you are using Hazelcast and the Go Client on the same computer, generally the default configuration should be fine. This is great for trying out the client. However, if you run the client on a different computer than any of the cluster members, you may need to do some simple configurations such as specifying the member addresses. The Hazelcast members and clients have their own configuration options. You may need to reflect some of the member side configurations on the client side to properly connect to the cluster. In order to configure the client, you only need to create a new hazelcast.Config, which you can pass to hazelcast.StartNewClientWithConfig function: Calling hazelcast.StartNewClientWithConfig with the default configuration is equivalent to calling hazelcast.StartNewClient. The default configuration assumes Hazelcast is running at localhost:5701 with the cluster name set to "dev". If you run Hazelcast members in a different server than the client, you need to make certain changes to client settings. Assuming Hazelcast members are running at hz1.server.com:5701, hz2.server.com:5701 and hz3.server.com:5701 with cluster name "production", you would use the configuration below. Note that addresses must include port numbers: You can also load configuration from JSON: If you are changing several options in a configuration section, you may have to repeatedly specify the configuration section: You can simplify the code above by getting a reference to config.Cluster and update it: Note that you should get a reference to the configuration section you are updating, otherwise you would update a copy of it, which doesn't modify the configuration. There are a few options that require a duration, such as config.Cluster.HeartbeatInterval, config.Cluster.Network.ConnectionTimeout and others. You must use types.Duration instead of time.Duration with those options, since types.Duration values support human readable durations when deserialized from text: That corresponds to the following JSON configuration. Refer to time.ParseDuration for the available duration strings: Here are all configuration items with their default values: Checkout the nearcache package for the documentation about the Near Cache. Hazelcast Go Client supports the following data structures: Additionally, the following CP distributed data structures: You can listen to creation and destroy events of distributed objects by attaching a listener to the client. A distributed object is created when first referenced unless it already exists. Here is an example: If you don't want to receive any distributed object events, use client.RemoveDistributedObjectListener: The client supports two ways of performing SQL queries: This section explains how to use the Client.SQL service. Running SQL queries requires Hazelcast 5.0 and up. Check out the Hazelcast SQL documentation here: https://docs.hazelcast.com/hazelcast/latest/sql/sql-overview Hazelcast Jet support must be enabled in Hazelcast server configuration in order to use the SQL functionality: To connect to a data source and query it as if it is a table, a mapping must be created. You can read the details about mappings in the Mappings documentation. The following data types are supported when inserting/updating. The names in parentheses correspond to SQL types: In order to force using a specific date/time type, create a time.Time value and cast it to the target type: To run SQL queries, use the client.SQL().Execute method: If you need to inject a value to the query, use one question mark (?) for each value, and pass the actual values as arguments to sql.Service.Execute: Hazelcast Management Center can monitor your clients if client-side statistics are enabled. You can enable statistics by setting config.Stats.Enabled to true. Optionally, the period of statistics collection can be set using config.Stats.Period setting. The labels set in configuration appear in the Management Center console:

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/hazelcast/hazelcast-go-client
Keywords: big-data , caching , clustering , datagrid , distributed , go , golang , hazelcast , hazelcast-client , imdg , in-memory , scalability
License: Apache-2.0
Latest release: 20 days ago
First release: over 6 years ago
Namespace: github.com/hazelcast
Dependent packages: 99
Dependent repositories: 195
Stars: 198 on GitHub
Forks: 60 on GitHub
Docker dependents: 30
Docker downloads: 78,494,409
Total Commits: 739
Committers: 27
Average commits per author: 27.37
Development Distribution Score (DDS): 0.521
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 1 day ago

v1.5.0
Published: 20 days ago
Registry - Documentation - Download
v1.4.3
Published: 3 months ago
Registry - Documentation - Download
v1.4.2
Published: over 1 year ago
Registry - Documentation - Download
v1.4.1
Published: over 2 years ago
Registry - Documentation - Download
v1.4.0
Published: over 2 years ago
Registry - Documentation - Download
v1.3.2
Published: almost 3 years ago
Registry - Documentation - Download
v1.3.1
Published: about 3 years ago
Registry - Documentation - Download
v1.3.0
Published: over 3 years ago
Registry - Documentation - Download
v1.2.1
Published: over 3 years ago
Registry - Documentation - Download
v1.2.0
Published: over 3 years ago
Registry - Documentation - Download
v1.1.1
Published: about 4 years ago
Registry - Documentation - Download
v1.1.0
Published: about 4 years ago
Registry - Documentation - Download
v1.0.0
Published: over 4 years ago
Registry - Documentation - Download
v1.0.0-preview.4
Published: over 4 years ago
Registry - Documentation - Download
v1.0.0-preview.3
Published: over 4 years ago
Registry - Documentation - Download
v1.0.0-preview.2
Published: over 4 years ago
Registry - Documentation - Download
v1.0.0-preview.1
Published: over 4 years ago
Registry - Documentation - Download
v0.6.0
Published: over 5 years ago
Registry - Documentation - Download
v0.5.0
Published: over 6 years ago
Registry - Documentation - Download