Hi All,

When we configure partitionById in SP, siddhi automatically adds a SHARD_ID
column to all the aggregated tables in RDBMS. But we are having a "too long
key issue" in the database. As a solution, we need to properly set the
column length for each attribute in the aggregated event stream.

Limit of columns in the aggregated streams can be defined when we
implement the siddhi app. But SHARD_ID is used only when partitionById is
configured. So we cannot provide and initial column length for that.

So it will be an ideal solution for us to have a configuration for this.
Otherwise, users need to alter the database or siddhi applications to
define these values. So can you please check the possibility to support
this?

ex:
siddhi:
  properties:
   partitionById: true
   shardId: dc1
   shardId_size: 20 # or derive length from 'shardId'

Thanks and Regards

-- 
Rukshan C. Premathunga | Associate Technical Lead | WSO2 Inc.
(m) +94711822074 | (w) +94112145345 | Email: [email protected]
GET INTEGRATION AGILE
Integration Agility for Digitally Driven Business
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to