# Stream Commands

[ValeyStream] stream --help
Usage: stream [details|updateStableNumber|setStableNumber|setEventCounter|updateTimeline|ensureEtypeIndex|dropEtypeIndex] [options] <args>...

Command: details
shows the details


Command: updateStableNumber
update the stable number to the latest


Command: setStableNumber <seqNoAt>
set the stable Number at <atSeqNo>
  <seqNoAt>                set Stable Number at <seqNoAt>


Command: setEventCounter <seqNoAt>
set the event counter at <atSeqNo>
  <seqNoAt>                set event counter at <seqNoAt>


Command: updateTimeline <fromSeqNo> <toSeqNo>
update timeline  from <fromSeqNo> to <toSeqNo>
  <fromSeqNo>              update timeline  from <fromSeqNo> to <toSeqNo>
  <toSeqNo>                update timeline  from <fromSeqNo> to <toSeqNo>


Command: ensureEtypeIndex
ensure index event type


Command: dropEtypeIndex
drop index event type


  --help                   prints this usage text

# stream

  • details
  • updateStableNumber
  • setStableNumber
  • setEventCounter
  • updateTimeline
  • ensureEtypeIndex
  • dropEtypeIndex

# details

shows the details

 








[ValeyStream] stream details
Stream : ValeyStream
No of Events  : 478
Stable SeqNo  : 478
Highest SeqNo : 478
Lowest SeqNo  : 1
Resolve Update counter : 0
[success] Total time: 2 s, completed 6 Aug, 2018 5:59:28 PM

# updateStableNumber

update the stable number to the latest

 








[ValeyStream] stream updateStableNumber
Stream : ValeyStream
No of Events  : 478
Stable SeqNo  : 478
Highest SeqNo : 478
Lowest SeqNo  : 1
Resolve Update counter : 0
[success] Total time: 2 s, completed 6 Aug, 2018 5:59:48 PM

# setStableNumber seqNoAt

set the stable Number at atSeqNo

  • seqNoAt set Stable Number at seqNoAt
 








[ValeyStream] stream setStableNumber 400
Stream : ValeyStream
No of Events  : 478
Stable SeqNo  : 400
Highest SeqNo : 478
Lowest SeqNo  : 1
Resolve Update counter : 0
[success] Total time: 3 s, completed 6 Aug, 2018 6:00:37 PM

# setEventCounter seqNoAt

set the event counter at atSeqNo

  • seqNoAt set event counter at seqNoAt
 


[ValeyStream] stream setEventCounter 400
[success] Total time: 2 s, completed 6 Aug, 2018 6:01:04 PM

# updateTimeline fromSeqNo toSeqNo

update timeline from fromSeqNo to toSeqNo

  • fromSeqNo update timeline from fromSeqNo to toSeqNo
  • toSeqNo update timeline from fromSeqNo to toSeqNo
 



[ValeyStream] stream updateTimeline 1 200
timeline is updated : from 1 to 200
[success] Total time: 2 s, completed 7 Aug, 2018 10:02:22 AM

# ensureEtypeIndex

ensure index event type

 



[ValeyStream] stream ensureEtypeIndex
creating the index on et for ValeyStream ...  done!
[success] Total time: 4 s, completed 7 Aug, 2018 10:01:28 AM

# dropEtypeIndex

drop index event type

 



[ValeyStream] stream dropEtypeIndex
dropping the index on et for ValeyStream ...  done!
[success] Total time: 2 s, completed 7 Aug, 2018 10:01:58 AM

# Event

 




















[ValeyStream] event --help
Usage: event [rename|resolve|dropResolveCounter] [options] <args>...

Command: rename <fromEvent> <toEvent>
rename the stream <fromEvent> to <toEvent>
  <fromEvent>              provide the <fromEvent> name
  <toEvent>                provide the <toEvent> name


Command: resolve <fromSeqNo> <toSeqNo>
resolve the events from <fromSeqNo> to <toSeqNo>
  <fromSeqNo>              resolve <fromSeqNo>
  <toSeqNo>                resolve  <toSeqNo>


Command: dropResolveCounter
drop(reset) the resolve counter


  --help                   prints this usage text
  • rename
  • resolve
  • dropResolveCounter

# rename fromEvent toEvent

rename the stream fromEvent to toEvent

  • fromEvent provide the fromEvent name
  • toEvent provide the toEvent name

# resolve fromSeqNo toSeqNo

resolve the events from fromSeqNo to toSeqNo

  • fromSeqNo resolve fromSeqNo
  • toSeqNo resolve toSeqNo

# dropResolveCounter

drop(reset) the resolve counter

# Replication

 
























[ValeyStream] replication --help
Usage: replication [details|update|createBookmark|deleteBookmark] [options] <args>...

Command: details
shows the details


Command: update <seqNo> [<step>]
update the replication
  <seqNo>                  update the replication till <seqNo>
  <step>                   the step size (default 1000)


Command: createBookmark <seqNoAt>
create a bookmark at <atSeqNo>
  <seqNoAt>                create the bookmark at <seqNoAt>


Command: deleteBookmark
delete the bookmark


  --help                   prints this usage text
[success] Total time: 2 s, completed 7 Aug, 2018 10:24:25 AM
  • details
  • update
  • createBookmark
  • deleteBookmark

# details

shows the details

# update seqNo [ step ]

update the replication

  • seqNo update the replication till seqNo
  • step the step size (default 1000)
 

[ValeyStream] replication update 100

# createBookmark seqNoAt

create a bookmark at atSeqNo

  • seqNoAt create the bookmark at seqNoAt
 

[ValeyStream] replication createBookmark 200

# deleteBookmark

delete the bookmark

 

[ValeyStream] replication deleteBookmark