1. A system for distributed event processing, comprising: a plurality of computer systems that each include processing resources the processing resources of each of the plurality of computer systems including at least a hardware processor and memory, the plurality of computer systems including a first computer system; and an electronic storage system configured to store a capability repository, wherein: the processing resources of the first computer system are configured to: receive, via electronic data communications network, a plurality of event streams from a plurality of event sources that generate event data included in an event stream, each one of the plurality of event sources being associated with an operating context; execute a complex event processing (CEP) query against the received plurality of event streams; identify a change in the operating context for at least one of the plurality of event sources; responsive to identification of the change in operating context for at least one of the plurality of event sources, automatically decompose, based upon information stored in the capability repository, the complex event processing (CEP) query by generating a first sub-query that is based on the CEP query; deploy the generated first sub-query to a second computer system of the plurality of computer systems that is remote from the first computer and associated with the operating context of the at least one of the plurality of event sources; the capability repository including information regarding (a) the plurality of event sources that each transmit event data, and (b) operating context(s) that are each associated with one or more of the event sources; wherein prior to identification of the change in the operating context for at least one of the plurality of event sources, execution of the CEP query is carried out using the processing resources of the first computer system and after deployment of the first sub-query, the execution of the CEP query is carried out using a combination of the processing resources from the first and second computer systems.