Coder Social home page Coder Social logo

micronaut-coherence's Introduction

Micronaut Coherence

Maven Central Build Status Revved up by Develocity Quality Gate Status

This project provides integrations between Micronaut and Oracle Coherence.

Documentation

See the Documentation for more information.

See the Snapshot Documentation for the current development docs.

Snapshots and Releases

Snapshots are automatically published to Sonatype OSS using GitHub Actions.

See the documentation in the Micronaut Docs for how to configure your build to use snapshots.

Releases are published to Maven Central via GitHub Actions.

Releases are completely automated. To perform a release use the following steps:

micronaut-coherence's People

Contributors

alextu avatar aseovic avatar burtbeckwith avatar dependabot[bot] avatar donbeave avatar ghillert avatar graemerocher avatar ilopmar avatar micronaut-build avatar msupic avatar n0tl3ss avatar pgressa avatar renovate[bot] avatar rlubke avatar sdelamo avatar thegridman avatar timyates avatar vasac avatar wetted avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

micronaut-coherence's Issues

Make the Coherence instance type configurable

Feature description

Currently the Coherence instance type is always specified as Cluster Member. We should configure the Coherence instance as Client automatically (sensible default), if all configured sessions are either of type Coherence*Extend or gRPC. Users should also be able to explicitly configure (override) the setting through a Micronaut property.

See:

As reference see: coherence-community/coherence-spring#71

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Pending Approval

These branches will be created by Renovate only once you click their checkbox below.

  • chore(deps): update actions/checkout action to v4.1.7

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): update plugin io.micronaut.build.shared.settings to v7.1.2
  • chore(deps): update gradle/gradle-build-action action to v3.4.0

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

github-actions
.github/workflows/central-sync.yml
  • actions/checkout v4
  • gradle/wrapper-validation-action v3
  • actions/setup-java v4
.github/workflows/graalvm-dev.yml
  • actions/checkout v4
  • actions/checkout v4
.github/workflows/graalvm-latest.yml
  • actions/checkout v4
  • actions/checkout v4
.github/workflows/gradle.yml
  • actions/checkout v4
  • graalvm/setup-graalvm v1.2.1
  • gradle/gradle-build-action v3.3.2
  • mikepenz/action-junit-report v4
  • actions/upload-artifact v4.3.3@65462800fd760344b1a7b4382951275a0abb4808
  • haya14busa/action-cond v1
.github/workflows/publish-snapshot.yml
  • actions/checkout v4
  • actions/cache v4
  • actions/setup-java v4
.github/workflows/release.yml
  • actions/checkout v4
  • gradle/wrapper-validation-action v3
  • actions/setup-java v4
  • actions/upload-artifact v4.3.3@65462800fd760344b1a7b4382951275a0abb4808
  • actions/upload-artifact v4.3.3@65462800fd760344b1a7b4382951275a0abb4808
  • actions/download-artifact v4.1.7@65a9edc5881444af0b9093a5e628f2fe47ea3b2e
  • slsa-framework/slsa-github-generator v2.0.0
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/download-artifact v4.1.7@65a9edc5881444af0b9093a5e628f2fe47ea3b2e
  • softprops/action-gh-release v0.1.15@de2c0eb89ae2a093876385947365aca7b0e5f844
.github/workflows/update-gradle-wrapper.yml
  • actions/checkout v4
  • gradle/wrapper-validation-action v3
  • stefanzweifel/git-auto-commit-action v5
gradle
gradle.properties
settings.gradle
  • io.micronaut.build.shared.settings 7.1.1
build.gradle
buildSrc/build.gradle
buildSrc/src/main/groovy/io.micronaut.build.internal.coherence-base.gradle
buildSrc/src/main/groovy/io.micronaut.build.internal.coherence-module.gradle
coherence/build.gradle
coherence-bom/build.gradle
coherence-cache/build.gradle
coherence-data/build.gradle
coherence-distributed-configuration/build.gradle
coherence-session/build.gradle
gradle/libs.versions.toml
  • io.micronaut:micronaut-core-bom 4.5.3
  • io.micronaut.cache:micronaut-cache-bom 4.3.0
  • io.micronaut.data:micronaut-data-bom 4.7.1
  • io.micronaut.reactor:micronaut-reactor-bom 3.3.0
  • io.micronaut.session:micronaut-session-bom 4.3.0
  • io.micronaut.discovery:micronaut-discovery-client 4.3.0
  • com.oracle.coherence.ce:coherence 24.03
  • com.oracle.coherence.ce:coherence-json 24.03
  • com.oracle.coherence.ce:coherence-bom 24.03
  • org.slf4j:slf4j-simple 2.0.13
  • com.oracle.bedrock:bedrock-testing-support 7.0.4
  • org.hamcrest:hamcrest 2.2
  • org.mockito:mockito-core 5.12.0
gradle-wrapper
gradle/wrapper/gradle-wrapper.properties
  • gradle 8.8

  • Check this box to trigger a request for Renovate to run again on this repository

NPE: Cannot invoke "io.grpc.netty.NettyWritableBuffer.bytebuf()" because "frame" is null

Expected Behavior

No NPE raised by runtime.

Actual Behaviour

Attempting upgrade of micronaut-coherence to 3.4.0 and running GrpcProxyTest yields:

SEVERE: Caught exception handling onComplete
java.lang.NullPointerException: Cannot invoke "io.grpc.netty.NettyWritableBuffer.bytebuf()" because "frame" is null
	at io.grpc.netty.NettyServerStream$Sink.writeFrameInternal(NettyServerStream.java:111)
	at io.grpc.netty.NettyServerStream$Sink.writeFrame(NettyServerStream.java:133)
	at io.grpc.internal.AbstractServerStream.deliverFrame(AbstractServerStream.java:111)
	at io.grpc.internal.MessageFramer.commitToSink(MessageFramer.java:350)
	at io.grpc.internal.MessageFramer.close(MessageFramer.java:326)
	at io.grpc.internal.AbstractStream.endOfMessages(AbstractStream.java:84)
	at io.grpc.internal.AbstractServerStream.close(AbstractServerStream.java:120)
	at io.grpc.internal.ServerCallImpl.closeInternal(ServerCallImpl.java:223)
	at io.grpc.internal.ServerCallImpl.close(ServerCallImpl.java:207)
	at io.grpc.PartialForwardingServerCall.close(PartialForwardingServerCall.java:48)
	at io.grpc.ForwardingServerCall.close(ForwardingServerCall.java:22)
	at io.grpc.ForwardingServerCall$SimpleForwardingServerCall.close(ForwardingServerCall.java:39)
	at com.oracle.coherence.grpc.proxy.GrpcMetricsInterceptor$ResponseCountingServerCall.close(GrpcMetricsInterceptor.java:146)
	at io.grpc.stub.ServerCalls$ServerCallStreamObserverImpl.onCompleted(ServerCalls.java:395)
	at com.oracle.coherence.grpc.SafeStreamObserver.onCompleted(SafeStreamObserver.java:98)
	at com.oracle.coherence.grpc.proxy.NamedCacheServiceGrpcImpl.handleUnary(NamedCacheServiceGrpcImpl.java:304)
	at com.oracle.coherence.grpc.proxy.NamedCacheServiceGrpcImpl.lambda$put$10(NamedCacheServiceGrpcImpl.java:221)
	at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
	at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:911)
	at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Steps To Reproduce

Update libs.versions.toml micronaut-grpc version to 3.4.0 run tests in coherence-grpc-test.

Environment Information

No response

Example Application

No response

Version

3.7.3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.