云集万物:支持百万级设备实时互连的Azure事件中心 (Event Hubs)
?????????????,?:???????????Windows Azure ????(Notification Hub),??????Windows ?????? (WNS)?Microsoft ?????? (MPNS)?Apple ?????? (APNS)?Google Cloud Messaging (GCM)??????????,????????????(????????)????????
????,Azure?????????????????????,????? (Event Hubs)?
?????????,????????????????(????????????????)????????????????,????????,????????,????(Inputs);????????,????(Outputs);??,Azure?????????(Processing)?
????,????????:????????(Mobile First, Cloud First);????,?? –> ???? -> Azure? –> ???? -> ????????????????????,?????????IPO?
????,????????,???????”????????“,????”????????“?
???????????,”????????“????????????:?(Azure)??(Hub???,???Event Hub?Notification Hub)???(?????????)??(????????)??
????????????????,???,
??????????????????,???????(Partition Count)???????(Message Retention Days),???:
??:??(Partition)????????????,?????????(Partition Key),??:
EventHubClient ec = EventHubClient.Create(“Event Hub Instance1");
EventData ed = new EventData();
ed.PartitionKey = "SourceID";
ec.Send(ed);
?????????,??????PartitionKey,??????????
??,??????????????????????,????(Token)???(SecretKey)??????????????,???????????????,????????????
???????????EventData?,?????????????EnqueuedTimeUtc???,????UTC???????(???????)?
??????????????,??????????????
?????MSDN????:EventData Class