Skip to main content

Oracle Transaction Manager for Microservices (MicroTx)

The Oracle Transaction Manager for Microservices (MicroTx) is recommended to be used as lra-coordinator for Java Spring Boot 2.0 services with Saga Pattern support.

The official Oracle MicroTx documentation also contains installation instructions for Kubernetes.

Example - Install Steps Oracle MicroTx Helm Chart

Download the MicroTx installation bundle (.zip file)

Extract the contents of the file otmm-24.2.1.0.0.zip.

unzip otmm-24.2.1.0.0.zip

Switch to the helmcharts folder.

cd installation_directory/otmm-RELEASE/otmm/helmcharts

Adjust the values.yaml file according to your needs, e.g.:

applicationNameSpace: namespace

tmmReplicaCount: 1

ingressHostName: otmm-tcs-otmm.apps.openshift.my.cloud

tmmImage:
imagePullSecret: ibm-entitlement-key

tmmConfiguration:
xaCoordinator:
enabled: "false"

lraCoordinator:
enabled: "true"

tccCoordinator:
enabled: "false"

narayanaLraCompatibilityMode:
enabled: "true"

authorization:
enabled: "true"
authTokenPropagationEnabled: "true"

identityProvider:
serverType: other
scopes: ""
issuer: https://keycloak-k5-sso.apps.openshift.my.cloud/auth/realms/realm
jwksUri: https://keycloak-k5-sso.apps.openshift.my.cloud/auth/realms/realm/protocol/openid-connect/certs
identityProviderUrl: "https://keycloak-k5-sso.apps.openshift.my.cloud"

encryption:
encryptionSecretKeyVersion: "1"
encryptionSecretKeys:
secretKeys:
- secretKeyName: "encryption-secret-key1"
version: "1"

Deploy Oracle MicroTx using the provided helm chart.

helm install <release name> --namespace <namespace> <chart directory> --values <values.yaml>