Skip to content

Commit

Permalink
Bump version to 0.0.5 (#50)
Browse files Browse the repository at this point in the history
* Update README with new module support

* Bump version to 0.0.5
  • Loading branch information
shashankrnr32 committed Apr 16, 2023
1 parent 274a376 commit cc458d7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 14 deletions.
36 changes: 23 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,31 +32,41 @@ as a dependency to your project.
</dependency>
```

### Mongo DB Clients - Application built without Spring.

```xml
<!-- sharding-driver -->
<dependency>
<groupId>com.alpha.mongodb</groupId>
<artifactId>sharding-driver</artifactId>
<version>${mongodb.sharding.version}</version>
</dependency>
```

To see a sample usage of different Sharding Strategies, visit the documentation
[here](https://shashankrnr32.gitbook.io/mongodb-application-sharding).

## Features

1. Supports 3 different sharding strategies for Spring / Spring Boot projects by extending MongoTemplate.
2. Supports Reactive Mongo Templates (for all the sharding strategies)
3. Hint Resolution through ThreadLocal and callback based mechanism.
4. Automatic Hint Resolution Callback discovery for Spring Beans using ApplicationContext
5. Custom configuration available for Sharding, validation of shards etc.
6. Tested using Spring's Mongo Template and Repository
3. Sharding support for Mongo Clients (without the need of spring dependencies). This supports both executable and
reactive Mongo Clients.
4. Hint Resolution through ThreadLocal and callback based mechanism.
5. Automatic Hint Resolution Callback discovery for Spring Beans using ApplicationContext
6. Custom configuration available for Sharding, validation of shards etc.
7. Tested using Spring's Mongo Template and Repository

## Roadmap

This project is in its budding stage. But I do see a lot of features that can be added.

1. Sharding support for Mongo Client (without the need of spring dependencies). This would support both executable and
reactive Mongo Clients.
2. More customization to Sharding options to allow dynamic shards, custom validations etc.
3. Support non-sharded collections within a sharded database.
4. Support to query from all the shards when the library is unable to route the query to a particular shard.
5. Configuring Sharding from property files without writing any Java Code
6. Support Aggregation queries
7. Custom ID generator for the sharded entities.
8. And so much more...!
1. More customization to Sharding options to allow dynamic shards, custom validations etc.
2. Support non-sharded collections within a sharded database.
3. Support to query from all the shards when the library is unable to route the query to a particular shard.
4. Configuring Sharding from property files without writing any Java Code
5. Support Aggregation queries
7. And so much more...!

## Code Analysis

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<version>${revision}</version>

<properties>
<revision>0.0.4</revision>
<revision>0.0.5</revision>
<project.java.version>1.8</project.java.version>
<maven.compiler.source>${project.java.version}</maven.compiler.source>
<maven.compiler.target>${project.java.version}</maven.compiler.target>
Expand Down

0 comments on commit cc458d7

Please sign in to comment.