ER Diagram - boostcampwm-2021/WEB08-AgileStorming GitHub Wiki

ERD

Redis Stream

127.0.0.1:6379> xrevrange 99fe47d5-0425-4c21-99bd-71185f30ae14 + - COUNT 3
1) 1) "1637816157867-0"
   2) 1) "type"
      2) "UPDATE_TASK_INFORMATION"
      3) "projectId"
      4) "99fe47d5-0425-4c21-99bd-71185f30ae14"
      5) "user"
      6) "Admin"
      7) "data"
      8) "{\"nodeFrom\":193,\"dataFrom\":{\"changed\":{\"labelIds\":\"[17,24,22,20,18,23,19,21,25]\"}},\"dataTo\":{\"changed\":{\"labelIds\":\"[17,24,22,20,18,23,19,21,25]\"}}}"
2) 1) "1637816145232-0"
   2) 1) "type"
      2) "UPDATE_TASK_INFORMATION"
      3) "projectId"
      4) "99fe47d5-0425-4c21-99bd-71185f30ae14"
      5) "user"
      6) "Admin"
      7) "data"
      8) "{\"nodeFrom\":193,\"dataFrom\":{\"changed\":{\"labelIds\":\"[17,24,22,20,18,23,19,21]\"}},\"dataTo\":{\"changed\":{\"labelIds\":\"[17,24,22,20,18,23,19,21]\"}}}"
3) 1) "1637816000985-0"
   2) 1) "type"
      2) "UPDATE_TASK_INFORMATION"
      3) "projectId"
      4) "99fe47d5-0425-4c21-99bd-71185f30ae14"
      5) "user"
      6) "Admin"
      7) "data"
      8) "{\"nodeFrom\":193,\"dataFrom\":{\"changed\":{\"labelIds\":\"[17,24,22,20,18,23,19]\"}},\"dataTo\":{\"changed\":{\"labelIds\":\"[17,24,22,20,18,23,19]\"}}}"
Stream Id: Project Id
Entry Id: Redis Stream * μ—°μ‚°μžλ‘œ μžλ™ 생성, <millisecondsTime>-<sequenceNumber>
Data: {
    type: Event Type, 
    projectId: Project Id, 
    user: User Id, 
    data: μ†ŒμΌ“ λͺ…μ„Έλ₯Ό 따름
}

μ†ŒμΌ“ λͺ…μ„Έ

version

v1.0.1 : (21.11.30)