Loading...

Analyze Properties

Table of Contents

    Analyze Properties

    This chapter will inform you about the configuration options in the connectplaza-analyze.properties file.

    As you download the ConnectAgent from Deploy you will get a preconfigured ConnectAgent. As you set some values before downloading the ConnectAgent. These values will be injected into serveral .properties files.

    In the properties file you see a # for the line, this line is a default value. Only remove the # if you want to change a specific value.

    The connectagent-analyze.properties file looks like this:

    # Analyze SQL Core Properties
    
    connectplaza.analyze.jdbc.driverclass=com.mysql.jdbc.Driver
    connectplaza.analyze.jdbc.url=jdbc:mysql:\/\/localhost:3306\/opdion-analyze
    connectplaza.analyze.jdbc.username=myesb
    connectplaza.analyze.jdbc.password=8d82976edc
    
    connectplaza.analyze.jdbc.dialect=org.hibernate.dialect.MySQLDialect
    connectplaza.analyze.jdbc.debug=false
    connectplaza.analyze.jdbc.hbm2dll=update
    connectplaza.analyze.jdbc.prefix=ema
    
    # Analyze Mongo Core Properties
    
    connectplaza.analyze.mongo.db=analyze
    connectplaza.analyze.mongo.host=172.17.0.1
    connectplaza.analyze.mongo.port=27017
    connectplaza.analyze.mongo.user=
    connectplaza.analyze.mongo.password=
    connectplaza.analyze.mongo.writeconcern=ACKNOWLEDGED
    
    connectplaza.analyze.cleanup.enabled=false
    connectplaza.analyze.cleanup.cron=0 0 2 * * *
    connectplaza.analyze.cleanup.expiration=720
    
    # Additional Properties
    
    ema.export.path=temp
    
    ema.messagestore.batchmode=false
    ema.messagestore.metadatamode=false
    ema.advanced.service.file.mode=false
    
    ema.messagestore.default.fault.path=temp/error/default
    ema.messagestore.basic.fault.path=temp/error/basic
    ema.messagestore.advanced.consume.count=50
    ema.messagestore.batch.consume.count=50
    ema.messagestore.batch.consume.startdelay=1820000
    ema.messagestore.batch.consume.repeatinterval=30000
    
    ema.messagestore.basic.error.discardtimeoutmillis=10810000
    ema.messagestore.basic.error.startdelay=2410000
    ema.messagestore.basic.error.repeatinterval=3600000
    
    # hibernate c3po default settings
    hibernate.c3p0.initialPoolSize=10
    hibernate.c3p0.minPoolSize=1
    hibernate.c3p0.maxPoolSize=25
    hibernate.c3p0.acquireRetryAttempts=10
    hibernate.c3p0.acquireIncrement=5
    hibernate.c3p0.idleConnectionTestPeriod=3600
    hibernate.c3p0.preferredTestQuery=SELECT 1;
    hibernate.c3p0.testConnectionOnCheckin=false
    hibernate.c3p0.maxConnectionAge=14400
    hibernate.c3p0.maxIdleTime=10800
    hibernate.c3p0.contextClassLoaderSource=caller
    
    Parameter Example value Description
    # Analyze SQL Core Properties    
    connectplaza.analyze.jdbc.driverclass com.mysql.jdbc.Driver Driver for your analyze database database
    connectplaza.analyze.jdbc.url jdbc:mysql:\/\/localhost:3306\/opdion-analyze Connection string for your JDBC database
    connectplaza.analyze.jdbc.username <username> User name to log into the database 
    connectplaza.analyze.jdbc.password 23DGFeexd33 Password to log into the database 
         
    # Analyze Mongo Core Properties    
    connectplaza.analyze.mongo.db analyze  Mongo Database name
    connectplaza.analyze.mongo.host 172.17.0.1  Host where the database exists
    connectplaza.analyze.mongo.port 27017 Default Mongo port number
    connectplaza.analyze.mongo.user   Username
    connectplaza.analyze.mongo.password   Password
    connectplaza.analyze.mongo.writeconcern ACKNOWLEDGED  
         
    connectplaza.analyze.cleanup.enabled false Is the message cleanup enabled
    connectplaza.analyze.cleanup.cron 0 0 2 * * * Auto cleanup at 2 AM
    connectplaza.analyze.cleanup.expiration 720 Clean up everything older than 30 days or 720 hours
         
    # Additional Properties    
    ema.export.path temp Default path for Analyze to export its overviews to.
    ema.messagestore.batchmode false Batch mode is disabled
    ema.messagestore.metadatamode false Metadata mode is disabled
    ema.advanced.service.file.mode false File mode is disabled
         
    ema.messagestore.default.fault.path temp/error/default Path to store default error messages
    ema.messagestore.basic.fault.path temp/error/basic Path to store basic error messages
    ema.messagestore.advanced.consume.count 50 Business Entity message consume count
    ema.messagestore.batch.consume.count 50  
    ema.messagestore.batch.consume.startdelay 1820000 Batch consume start delay in ms
    ema.messagestore.batch.consume.repeatinterval 30000 Batch consume repeat interval in ms
         
    ema.messagestore.basic.error.discardtimeoutmillis 10810000 Basic Error discard timeout in ms
    ema.messagestore.basic.error.startdelay 2410000 Basic Error repeatinterval in ms
    ema.messagestore.basic.error.repeatinterval 3600000 Basic Error repeatinterval in ms
         
    # hibernate c3po default settings   Basic Error discard timeout in ms
    hibernate.c3p0.initialPoolSize 10 Database connection initial pool size
    hibernate.c3p0.minPoolSize 1 Database connection minimal pool size
    hibernate.c3p0.maxPoolSize 25 Database connection maximum pool size
    hibernate.c3p0.acquireRetryAttempts 10 Number of retry attempts when connection is lost
    hibernate.c3p0.acquireIncrement 5 Number of connections to increments
    hibernate.c3p0.idleConnectionTestPeriod 3600 Idle connection test period
    hibernate.c3p0.preferredTestQuery SELECT 1; Test query
    hibernate.c3p0.testConnectionOnCheckin false Test connection on checkin to pool
    hibernate.c3p0.maxConnectionAge 14400 Maximum age for any connection
    hibernate.c3p0.maxIdleTime 10800 Maximum idle time for any connection
    hibernate.c3p0.contextClassLoaderSource caller Context Classloader Source

     

    Most of the time you do not have to change these variables. But in case the defaults do not apply to your situation you can change them in this file. Restart the agent after changing the parameters to activate the new settings.

    Hibernate values

    Analyze uses hibernate to automatically create / update the analyze database.

    You can set your values when building the ConnectPlaza agent in Deploy.

    If you need a database which you cannot select, please contact ConnectPlaza to inform you about the needed settings in the configuration file.

     


    Copyright © 2018 ConnectPlaza.   For pricing, account management and more go to https://www.connectplaza.com

    About Connectplaza

    Si components version:   

    Lorem ipsum delore set

    Lorem ipsum delore set

    Window size is not optimal. Please enlarge for optimal experience

    No connection

    No response from the server. This window will automaticly disappear by an valid connection