4.4. 로그 스토리지 구성


가장 중요한 구성은 오브젝트 로그 스토리지의 유형 및 위치입니다. 일반적으로 com.arjuna.ats.arjuna.objectstore.ObjectStoreAPI 인터페이스의 세 가지 구현이 있습니다.

com.arjuna.ats.internal.arjuna.objectstore.hornetq.HornetqObjectStoreAdaptor
AMQ 7의 org.apache.activemq.artemis.core.journal 스토리지를 내부적으로 사용합니다.
com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCStore
JDBC를 사용하여 TX 로그 파일을 유지합니다.
com.arjuna.ats.internal.arjuna.objectstore.FileSystemStore (및 특수 구현)
사용자 정의 파일 기반 로그 스토리지를 사용합니다.

기본적으로 Fuse는 FileSystemStore 의 특수 구현인 com.arjuna.ats.internal.arjuna.objectstore.ShadowNoFileLockStore 를 사용합니다.

Narayana가 트랜잭션/오브젝트 로그를 보관하는 데 사용되는 세 개의 저장소가 있습니다.

  • defaultStore
  • communicationStore
  • stateStore

자세한 내용은 State Management in Narayana 설명서 를 참조하십시오.

이 세 저장소 의 기본 구성은 다음과 같습니다.

# default store
com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.objectStoreType = com.arjuna.ats.internal.arjuna.objectstore.ShadowNoFileLockStore
com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.objectStoreDir = ${karaf.data}/narayana
com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.localOSRoot = defaultStore
# communication store
com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.communicationStore.objectStoreType = com.arjuna.ats.internal.arjuna.objectstore.ShadowNoFileLockStore
com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.communicationStore.objectStoreDir = ${karaf.data}/narayana
com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.communicationStore.localOSRoot = communicationStore
# state store
com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.stateStore.objectStoreType = com.arjuna.ats.internal.arjuna.objectstore.ShadowNoFileLockStore
com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.stateStore.objectStoreDir = ${karaf.data}/narayana
com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.stateStore.localOSRoot = stateStore
Copy to Clipboard Toggle word wrap

CryostatNoFileLockStore 는 기본 디렉터리(objectStoreDir) 및 특정 저장소의 디렉터리(localOSRoot)로 구성됩니다.

많은 설정 옵션은 나레이나 설명서 가이드에 포함되어 있습니다. 그러나 Narayana 설명서는 구성 옵션에 대한 표준 참조가 다양한 EnvironmentBean 클래스의 Javadoc임을 나타냅니다.

맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat