#daily extract spring: profiles: dailyExtract datasource: driver-class-name: org.postgresql.Driver password: crss_meterprocess username: crss_meterprocess url: jdbc:postgresql://10.176.23.24:5432/crss_metering2 maxPoolSize: 5 test-on-borrow: true validation-query: SELECT 1 cloud: stream: bindings: output: content-type: application/json jdbc: query: "select * from txn_meter_data_daily where consumed <> TRUE or consumed is null limit 10000;" update: "update txn_meter_data_daily set consumed = TRUE where meter_data_id in (:meter_data_id);" trigger: fixed-delay: 5 time-unit: SECONDS logging: level: com.pemc: DEBUG --- #Monthly extract spring: profiles: monthlyExtract datasource: driver-class-name: org.postgresql.Driver password: crss_meterprocess username: crss_meterprocess url: jdbc:postgresql://10.176.23.24:5432/crss_metering2 maxPoolSize: 5 test-on-borrow: true validation-query: SELECT 1 cloud: stream: bindings: output: content-type: application/json jdbc: query: "select * from txn_meter_data_monthly where consumed <> TRUE or consumed is null limit 10000;" update: "update txn_meter_data_monthly set consumed = TRUE where meter_data_id in (:meter_data_id);" trigger: fixed-delay: 5 time-unit: SECONDS logging: level: com.pemc: DEBUG --- # default spring: datasource: driver-class-name: org.postgresql.Driver password: crss_meterprocess username: crss_meterprocess url: jdbc:postgresql://10.176.23.24:5432/crss_metering2 maxPoolSize: 5 test-on-borrow: true validation-query: SELECT 1 cloud: stream: bindings: output: content-type: application/json jdbc: query: "select * from txn_meter_data_monthly where consumed <> TRUE or consumed is null limit 10000;" update: "update txn_meter_data_monthly set consumed = TRUE where meter_data_id in (:meter_data_id);" trigger: fixed-delay: 5 time-unit: SECONDS logging: level: com.pemc: DEBUG