Hi,

I am working on implementing BAM events & activity search feature. To
support the search we need to index some predefined stream properties. We
can either use cassandra secondary indexes or we can use our own custom
indexes(secondary indexes are not recommended for columns having high
cardinality values). Anyway we need to defined the index properties
somehow, so we thought of define those in BAM toolbox.

In BAM toolbox there is already a configuration file named
'streams.properties'.
    .tbox
        |-- analytics <folder>
                .
                .
        |-- dashboard <folder>
                .
                .
        |-- streamDefn <folder>
                |-- defn_1 <file>
                |-- defn_2 <file>
                |-- *streams.properties <file>*

'streams.properties' file is currently use to keep meta information about
stream definitions. So I thought of adding two new properties to
'stream.properties' to keep indexing information like belows.

*
streams.definitions.defn1.secondary.indexes=meta_host,payload_service_name,payload_operation_name
streams.definitions.defn1.custom.indexes=correlation_bam_activity_id*

WDYT???

-- 
Regards,

Inosh Goonewardena
Associate Technical Lead- WSO2 Inc.
Mobile: +94779966317
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to